C# Class Shaml.Web.NHibernate.WebSessionStorage

Inheritance: ISessionStorage
Mostra file Open project: sztupy/shaml Class Usage Examples

Public Methods

Method Description
GetAllSessions ( ) : System.Collections.Generic.IEnumerable
GetSessionForKey ( string factoryKey ) : ISession
SetSessionForKey ( string factoryKey, ISession session ) : void
WebSessionStorage ( System.Web.HttpApplication app ) : System

Private Methods

Method Description
Application_EndRequest ( object sender, EventArgs e ) : void
GetSimpleSessionStorage ( ) : SimpleSessionStorage

Method Details

GetAllSessions() public method

public GetAllSessions ( ) : System.Collections.Generic.IEnumerable
return System.Collections.Generic.IEnumerable

GetSessionForKey() public method

public GetSessionForKey ( string factoryKey ) : ISession
factoryKey string
return ISession

SetSessionForKey() public method

public SetSessionForKey ( string factoryKey, ISession session ) : void
factoryKey string
session ISession
return void

WebSessionStorage() public method

public WebSessionStorage ( System.Web.HttpApplication app ) : System
app System.Web.HttpApplication
return System