From 20f3d5f01fdc1088f2069869c61dd9da525a7c22 Mon Sep 17 00:00:00 2001 From: jcardus Date: Tue, 6 Jul 2021 03:57:40 +0100 Subject: Persist Jetty Session in DB --- src/main/java/org/traccar/config/Keys.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/main/java/org/traccar/config') diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java index 167627b1d..c542b7099 100644 --- a/src/main/java/org/traccar/config/Keys.java +++ b/src/main/java/org/traccar/config/Keys.java @@ -1198,6 +1198,13 @@ public final class Keys { "web.sameSiteCookie", Collections.singletonList(KeyType.GLOBAL)); + /** + * Enables persisting Jetty session to the database + */ + public static final ConfigKey WEB_SESSION_PERSISTED = new ConfigKey<>( + "web.sessionPersisted", + Collections.singletonList(KeyType.GLOBAL)); + /** * Output logging to the standard terminal output instead of a log file. */ -- cgit v1.2.3