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