added: 'remember me' flag when logging
added: the session file
sessions can still be available between starting and stopping the cmslu system
git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@529 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#include <pwd.h>
|
||||
#include <grp.h>
|
||||
#include <errno.h>
|
||||
#include <ctime>
|
||||
|
||||
#include "../content/content.h"
|
||||
#include "sessionmanager.h"
|
||||
@@ -42,10 +43,14 @@ public:
|
||||
void Close();
|
||||
void Loop();
|
||||
|
||||
void LoadSessions();
|
||||
void SaveSessions();
|
||||
void SaveSessionsIfNeeded(); // saving only once a day
|
||||
|
||||
SessionContainer::Iterator SessionBegin();
|
||||
SessionContainer::Iterator SessionEnd();
|
||||
|
||||
time_t last_sessions_save;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user