27 SessionServer( time_t cleanTimeInterval = 1800UL, time_t sessionLifeTime = 1800UL );
36 virtual void clean() = 0;
39 virtual bool startup(
winux::String const & sessid, SessionData * sessData ) = 0;
42 virtual bool save(
winux::String const & sessid, SessionData
const & sessData, time_t thisLifeTime = 0UL ) = 0;
std::map< String, Mixed > StringMixedMap
time_t getSessionLifeTime() const
time_t getCleanTimeInterval() const
#define DISABLE_OBJECT_COPY(clsname)
winux::StringMixedMap SessionData
会话数据
time_t _cleanTimeInterval
执行"清理过期session"的时间间隔
time_t _sessionLifeTime
默认session生命期