Opened 3 years ago

Closed 3 years ago

#2238 closed enhancement (fixed)

Mark sessions without a logout time as inactive when BASE is starting

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: BASE 3.18
Component: core Version:
Keywords: Cc:

Description

BASE usually store the login and logout time for all sessions. In some cases, typically after some kind of crash, the logout time is never recorded. I think it is safe to assume that when the server is restarted there can't be any active sessions and that all sessions that are missing a logout time should be filled with the current time.

Change History (3)

comment:1 by Nicklas Nordborg, 3 years ago

Owner: changed from everyone to Nicklas Nordborg
Status: newaccepted

comment:2 by Nicklas Nordborg, 3 years ago

In 7899:

References #2238: Mark sessions without a logout time as inactive when BASE is starting

Re-factored the Application.start() methods to make it easier to add implement more options without adding more variants of the Application.start() method. Existing options have been ported to all places that use them.

The StartupOptions.autoLogoutSessions() has not been implemented yet.

comment:3 by Nicklas Nordborg, 3 years ago

Resolution: fixed
Status: acceptedclosed

In 7900:

Fixes #2238: Mark sessions without a logout time as inactive when BASE is starting

Note: See TracTickets for help on using tickets.