C# Класс Castle.ActiveRecord.SessionScopeWebModule

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

Add the module to the httpModules configuration section within system.web

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

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

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

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

Метод Описание
Dispose ( ) : void

Disposes of the resources (other than memory) used by the module that implements .

Init ( System.Web.HttpApplication app ) : void

Initialize the module.

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

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

Called when request is started, create a session for the request

OnEndRequest ( object sender, EventArgs e ) : void

Called when the request ends, dipose of the scope

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

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

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

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

Initialize the module.
public Init ( System.Web.HttpApplication app ) : void
app System.Web.HttpApplication The app.
Результат void

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

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

The key used to store the session in the context items
protected static String SessionKey
Результат String