- create
Session create()
Undocumented in source. Be warned that the author may not have intended to support it.
- destroy
void destroy(string id)
Undocumented in source. Be warned that the author may not have intended to support it.
- get
Variant get(string id, string name, Variant defaultVal)
Undocumented in source. Be warned that the author may not have intended to support it.
- isKeySet
bool isKeySet(string id, string key)
Undocumented in source. Be warned that the author may not have intended to support it.
- iterateSession
int delegate(int delegate(ref string key, ref Variant value) @(safe)) @(safe) iterateSession(string id)
Undocumented in source. Be warned that the author may not have intended to support it.
- iterateSession
int iterateSession(string id, int delegate(string key) @(safe) del)
Undocumented in source. Be warned that the author may not have intended to support it.
- open
Session open(string id)
Undocumented in source. Be warned that the author may not have intended to support it.
- remove
void remove(string id, string key)
Undocumented in source. Be warned that the author may not have intended to support it.
- set
void set(string id, string name, Variant value)
Undocumented in source. Be warned that the author may not have intended to support it.
Session store for storing a session in local memory.
If the server is running as a single instance (no thread or process clustering), this kind of session store provies the fastest and simplest way to store sessions. In any other case, a persistent session store based on a database is necessary.