fastdo  0.6.16
webx_FileSessionServer.hpp
浏览该文件的文档.
1 #pragma once
2 
3 namespace eienwebx
4 {
5 
8 {
9 public:
15  FileSessionServer( winux::String const & savePath, time_t cleanTimeInterval = 1800UL, time_t sessionLifeTime = 1800UL );
16 
18  virtual void clean() override;
19 
21  virtual bool startup( winux::String const & sessid, SessionData * sessData ) override;
22 
24  virtual bool save( winux::String const & sessid, SessionData const & sessData, time_t thisLifeTime = 0UL ) override;
25 
26 private:
27  winux::String _savePath;
28 
30 };
31 
32 
33 } // namespace eienwebx
#define EIENWEBX_DLL
XString< tchar > String
Definition: utilities.hpp:261
Web功能的相关封装
#define DISABLE_OBJECT_COPY(clsname)
Definition: utilities.hpp:85
winux::StringMixedMap SessionData
会话数据