C# Class Castle.Facilities.NHibernateIntegration.Components.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
显示文件 Open project: nats/castle-1.0.3-mono

Protected Properties

Property Type Description
SessionKey String

Public Methods

Method Description
Dispose ( ) : void
Init ( System.Web.HttpApplication app ) : void
SessionWebModule ( ) : System

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Init() public method

public Init ( System.Web.HttpApplication app ) : void
app System.Web.HttpApplication
return void

SessionWebModule() public method

public SessionWebModule ( ) : System
return System

Property Details

SessionKey protected_oe static_oe property

protected static String SessionKey
return String