C# Class Castle.Facilities.NHibernateIntegration.Components.Web.SessionWebModule

HttpModule to set up a session for the request lifetime. ISessionManager
To install the module, you must:

Add the module to the httpModules configuration section within system.web Extend the HttpApplication if you haven't Make your HttpApplication subclass implement IContainerAccessor so the module can access the container instance

Inheritance: IHttpModule
Show file Open project: hconceicao/Castle.Facilities.NHibernateIntegration3

Protected Properties

Property Type Description
SessionKey String

Public Methods

Method Description
Dispose ( ) : void

Disposes of the resources (other than memory) used by the module that implements T:System.Web.IHttpModule.

Init ( System.Web.HttpApplication app ) : void

Initializes a module and prepares it to handle requests.

Private Methods

Method Description
ObtainContainer ( ) : IWindsorContainer
OnBeginRequest ( object sender, EventArgs e ) : void
OnEndRequest ( object sender, EventArgs e ) : void

Method Details

Dispose() public method

Disposes of the resources (other than memory) used by the module that implements T:System.Web.IHttpModule.
public Dispose ( ) : void
return void

Init() public method

Initializes a module and prepares it to handle requests.
public Init ( System.Web.HttpApplication app ) : void
app System.Web.HttpApplication The app.
return void

Property Details

SessionKey protected static property

protected static String SessionKey
return String