C# Класс 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

Наследование: IHttpModule
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
SessionKey String

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
ObtainContainer ( ) : IWindsorContainer
OnBeginRequest ( object sender, EventArgs e ) : void
OnEndRequest ( object sender, EventArgs e ) : void

Описание методов

Dispose() публичный Метод

Disposes of the resources (other than memory) used by the module that implements T:System.Web.IHttpModule.
public Dispose ( ) : void
Результат void

Init() публичный Метод

Initializes a module and prepares it to handle requests.
public Init ( System.Web.HttpApplication app ) : void
app System.Web.HttpApplication The app.
Результат void

Описание свойств

SessionKey защищенное статическое свойство

protected static String SessionKey
Результат String