public interface SpincastSessionConfig
| Modifier and Type | Method and Description |
|---|---|
int |
getDeleteOldSessionsScheduledTaskRunEveryNbrMinutes()
The acheduled task to delete old sessions should run
every X minutes.
|
String |
getSessionIdCookieName()
The name of the cookie used to store the
Session id, by default.
|
int |
getSessionMaxInactiveMinutes()
The number of minutes before
an inactive session is deleted.
|
int |
getUpdateNotDirtySessionPeriodInSeconds()
The number of seconds between two updates of the
modification date of a session, wheen the session
is not dirty.
|
int getSessionMaxInactiveMinutes()
Defaults to 7 days.
int getDeleteOldSessionsScheduledTaskRunEveryNbrMinutes()
String getSessionIdCookieName()
int getUpdateNotDirtySessionPeriodInSeconds()
This value must be less than
getSessionMaxInactiveMinutes() or active
sessions will be deleted!
Note that when something changes on the session the session becomes dirty and is always saved and an updated modification date.
Copyright © 2018. All rights reserved.