14 virtual bool remove(
const QByteArray &
id) = 0;
15 virtual int gc(
const QDateTime &expire) = 0;
17 static int64_t lifeTimeSecs();
The TSessionStore is an abstract class that stores HTTP sessions.
Definition tsessionstore.h:8
virtual TSession find(const QByteArray &id)=0
Returns the session which has the ID id and is newer than or equal to the expiration datetime in the ...
virtual bool store(TSession &sesion)=0
Stores the session in the session store.
virtual bool remove(const QByteArray &id)=0
Removes all sessions older than the expiration datetime.
virtual ~TSessionStore()
Definition tsessionstore.h:11
virtual int gc(const QDateTime &expire)=0
TSessionStore()
Definition tsessionstore.h:10
The TSession class holds information associated with individual visitors.
Definition tsession.h:7
#define T_CORE_EXPORT
Definition tdeclexport.h:28