HttpSession

Wrapper around a http session.

Members

Functions

cacheView
void cacheView(string viewName, string result)

Caches a view in the session.

clearValues
void clearValues()

Clears the session values for a session.

getCachedView
string getCachedView(string viewName)

Gets a view from the session cache.

getValue
T getValue(string name, T defaultValue)

Gets a session value.

hasValue
bool hasValue(string name)

Checks whether a value is present in the session.

removeValue
void removeValue(string name)

Removes a session value.

setValue
void setValue(string name, T value)

Sets a session value.

updateEndTime
void updateEndTime(SysTime newEndTime)

Updates the session end time.

Properties

endTime
SysTime endTime [@property getter]

Gets the time the session ends.

id
string id [@property getter]

Gets the session id.

Meta