[Minor] Privilege sessions should be stored in the temp path, not data

This commit is contained in:
Robert von Burg 2016-08-11 10:51:30 +02:00
parent 62945aeddc
commit fa136c966c
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ public class DefaultStrolchPrivilegeHandler extends StrolchComponent implements
// set sessions data path
if (Boolean.valueOf(parameterMap.get(PARAM_PERSIST_SESSIONS))) {
File dataPath = runtimeConfig.getDataPath();
File dataPath = runtimeConfig.getTempPath();
String sessionsPath = new File(dataPath, "sessions.dat").getAbsolutePath();
parameterMap.put(PARAM_PERSIST_SESSIONS_PATH, sessionsPath);
}