GClasses
|
#include <GDynamicPage.h>
Public Member Functions | |
GDynamicPageSession (GDynamicPageServer *pServer, unsigned long long id) | |
virtual | ~GDynamicPageSession () |
GDynamicPageSessionExtension * | extension () |
Retrieve the extension object that was associated with this session by a call to setExtension. More... | |
unsigned long long | id () |
Returns the id associated with this session. More... | |
void | onAccess () |
Stamp the session as having been accessed at the current time. More... | |
const char * | params () |
size_t | paramsLen () |
GDynamicPageServer * | server () |
Returns the server object associated with this session. More... | |
void | setCurrentUrl (const char *szUrl, const char *szParams, size_t paramsLength) |
void | setExtension (GDynamicPageSessionExtension *pExtension) |
Use this to store your own custom object with the session. Your object should inherit from GDynamicPageSessionExtension. (The extension will not be deleted when the session is deleted, but the GDynamicPageSessionExtension::onDisown method will be called, which you can use to delete the extension.) More... | |
const char * | url () |
Protected Attributes | |
unsigned long long | m_id |
size_t | m_paramsLen |
GDynamicPageSessionExtension * | m_pExtension |
GDynamicPageServer * | m_pServer |
const char * | m_szParams |
const char * | m_szUrl |
time_t | m_tLastAccessed |
GClasses::GDynamicPageSession::GDynamicPageSession | ( | GDynamicPageServer * | pServer, |
unsigned long long | id | ||
) |
|
virtual |
|
inline |
Retrieve the extension object that was associated with this session by a call to setExtension.
|
inline |
Returns the id associated with this session.
void GClasses::GDynamicPageSession::onAccess | ( | ) |
Stamp the session as having been accessed at the current time.
|
inline |
|
inline |
|
inline |
Returns the server object associated with this session.
|
inline |
void GClasses::GDynamicPageSession::setExtension | ( | GDynamicPageSessionExtension * | pExtension | ) |
Use this to store your own custom object with the session. Your object should inherit from GDynamicPageSessionExtension. (The extension will not be deleted when the session is deleted, but the GDynamicPageSessionExtension::onDisown method will be called, which you can use to delete the extension.)
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |