|
fastdo
0.6.16
|
数据库式会话服务器 更多...
#include <webx_DatabaseSessionServer.hpp>


额外继承的成员函数 | |
Public 成员函数 继承自 eienwebx::SessionServer | |
| SessionServer (time_t cleanTimeInterval=1800UL, time_t sessionLifeTime=1800UL) | |
| 构造函数 更多... | |
| virtual | ~SessionServer () |
| time_t | getCleanTimeInterval () const |
| time_t | getSessionLifeTime () const |
| virtual void | clean ()=0 |
| 执行清理操作,将过期的session删除 更多... | |
| virtual bool | startup (winux::String const &sessid, SessionData *sessData)=0 |
| 启动一个session,得到一个SessionData,用来读写数据 更多... | |
| virtual bool | save (winux::String const &sessid, SessionData const &sessData, time_t thisLifeTime=0UL)=0 |
| 保存一个session,将SessionData存储,可以指定生命期 更多... | |
Protected 属性 继承自 eienwebx::SessionServer | |
| time_t | _cleanTimeInterval |
| 执行"清理过期session"的时间间隔 更多... | |
| time_t | _sessionLifeTime |
| 默认session生命期 更多... | |
数据库式会话服务器
在文件 webx_DatabaseSessionServer.hpp 第 6 行定义.