|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
Manages sessions
Property Summary | |
---|---|
bool |
AutoCreate
Gets or sets whether to autocreate sessions |
int |
GcMaxLifeTime
Gets or sets the maximum number of secounds after which the session will be GC'd |
int |
GcProbability
Gets or sets the probability of GC'ing for each request |
string |
Name
Gets or sets the name for session |
Method Summary | |
---|---|
void |
Close(ClintHeyer.Httpd.HttpSession session) Closes a session |
ClintHeyer.Httpd.HttpSession |
Create(ClintHeyer.Httpd.HttpRequest request, ClintHeyer.Httpd.Connection connection) Create a session |
ClintHeyer.Httpd.HttpSession |
Get(ClintHeyer.Httpd.HttpRequest request, ClintHeyer.Httpd.Connection connection) Creates a new session for a connection (if AutoCreate is true), or gets an existing session |
void |
Store(ClintHeyer.Httpd.HttpSession session) Store session - when session is no longer used |
Property Detail |
---|
public bool AutoCreate
Gets or sets whether to autocreate sessions
public int GcMaxLifeTime
Gets or sets the maximum number of secounds after which the session will be GC'd
public int GcProbability
Gets or sets the probability of GC'ing for each request
public string Name
Gets or sets the name for session
Method Detail |
---|
public void Close(ClintHeyer.Httpd.HttpSession session)
Closes a session
Parameters:
session
- Session to closepublic ClintHeyer.Httpd.HttpSession Create(ClintHeyer.Httpd.HttpRequest request, ClintHeyer.Httpd.Connection connection)
Create a session
Parameters:
connection
- Connectionrequest
- Requestpublic ClintHeyer.Httpd.HttpSession Get(ClintHeyer.Httpd.HttpRequest request, ClintHeyer.Httpd.Connection connection)
Creates a new session for a connection (if AutoCreate is true), or gets an existing session
Parameters:
connection
- Connectionrequest
- Requestpublic void Store(ClintHeyer.Httpd.HttpSession session)
Store session - when session is no longer used
Parameters:
session
- Session
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |