C# Class 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

Inheritance: IHttpModule
Afficher le fichier Open project: shosca/ActiveRecord

Protected Properties

Свойство Type Description
SessionKey String

Méthodes publiques

Méthode Description
Dispose ( ) : void

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

Init ( System.Web.HttpApplication app ) : void

Initialize the module.

Private Methods

Méthode Description
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

Method Details

Dispose() public méthode

Disposes of the resources (other than memory) used by the module that implements .
public Dispose ( ) : void
Résultat void

Init() public méthode

Initialize the module.
public Init ( System.Web.HttpApplication app ) : void
app System.Web.HttpApplication The app.
Résultat void

Property Details

SessionKey protected_oe static_oe property

The key used to store the session in the context items
protected static String SessionKey
Résultat String