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 WebSessionContext : MapBasedSessionContext
Visual Basic
<SerializableAttribute> _
Public Class WebSessionContext _
	Inherits MapBasedSessionContext
Visual C++
[SerializableAttribute]
public ref class WebSessionContext : public MapBasedSessionContext

Inheritance Hierarchy

See Also