Provides a current session for each System.Web.HttpContext. Works only with Web Applications.

Namespace: NHibernate.Context
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
[SerializableAttribute]
public class ManagedWebSessionContext : ICurrentSessionContext
Visual Basic
<SerializableAttribute> _
Public Class ManagedWebSessionContext _
	Implements ICurrentSessionContext
Visual C++
[SerializableAttribute]
public ref class ManagedWebSessionContext : ICurrentSessionContext

Inheritance Hierarchy

System..::..Object
  NHibernate.Context..::..ManagedWebSessionContext

See Also