Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: void InitializeFromRequest(HttpRequest)

Declaration

protected internal void InitializeFromRequest(
    HttpRequest req
)

Summary

Initialises this session instance from the specified request. Only call this if you are not using Session.EnableAutomatic<TSession>(HttpRequest, Func<TSession, HttpResponse>), Session.EnableManual<TSession>(HttpRequest, Func<TSession, HttpResponse>) or any of their overloads, as these already call it.

Parameters

HttpRequestreq Request containing the cookie information from which to initialise the session.