- Declared in: RT.Servers.Session
- Virtual
Declaration
public virtual void CleanUp(
HttpResponse response,
bool wasModified
)
Summary
Saves/deletes the session and/or sets the session cookie, as appropriate. Only call this if you are not using
Session.EnableAutomatic<TSession>(HttpRequest, Func<TSession, HttpResponse>),
Session.EnableManual<TSession>(HttpRequest, Func<TSession, HttpResponse>),
SessionExtensions or anything else that already calls it.
Parameters
HttpResponse | response |
Response to add cookie information to. |
bool | wasModified |
Specifies whether the session data has changed. |