fastdo
0.6.8
首页
命名空间
类
文件
文件列表
文件成员
webx_Session.hpp
浏览该文件的文档.
1
#pragma once
2
3
namespace
eienwebx
4
{
5
12
class
EIENWEBX_DLL
Session
13
{
14
public
:
22
Session
(
Request
& req,
winux::String
const
& sessid =
""
,
winux::String
const
& cookiesPath =
"/"
,
winux::ulong
cookieSessIdLifeTime = 0,
winux::ulong
sessionLifeTime = 0 );
23
~
Session
();
24
winux::Mixed
& operator [] (
winux::String
const
& name );
25
winux::Mixed
const
& operator [] (
winux::String
const
& name )
const
;
26
bool
has(
winux::String
const
& name )
const
;
27
winux::Mixed
const
&
get
(
winux::String
const
& name )
const
;
28
void
set
(
winux::String
const
& name,
winux::Mixed
const
& v );
29
bool
del(
winux::String
const
& name );
30
private
:
31
Request
& _req;
32
SessionData
_data;
33
winux::String
_sessid;
34
winux::ulong
_cookieSessIdLifeTime;
35
winux::ulong
_sessionLifeTime;
36
bool
_isModified;
37
38
DISABLE_OBJECT_COPY
(
Session
)
39
};
40
41
42
}
// namespace eienwebx
EIENWEBX_DLL
#define EIENWEBX_DLL
Definition:
eienwebx_base.hpp:28
winux::String
XString< tchar > String
Definition:
utilities.hpp:216
eienwebx
Web功能的相关封装
Definition:
eienwebx_base.hpp:45
DISABLE_OBJECT_COPY
#define DISABLE_OBJECT_COPY(clsname)
Definition:
utilities.hpp:81
eienwebx::SessionData
winux::StringMixedMap SessionData
会话数据
Definition:
webx_SessionServer.hpp:9
eienwebx::Request
代表一个请求
Definition:
webx_Request.hpp:11
winux::Mixed
混合体,能表示多种类型的值
Definition:
utilities.hpp:750
winux::ulong
unsigned long ulong
Definition:
utilities.hpp:171
eienwebx::Session
网站会话
Definition:
webx_Session.hpp:12
build
windows
include
webx_Session.hpp
生成于 2023年 六月 18日 星期日 10:25:58 , 为 fastdo使用
1.8.11