This documentation is archived and is not being maintained.

IReadOnlySessionState Interface

Specifies that the target HTTP handler interface has read-only access to session-state values. This is a marker interface only and has no methods.

System.Web.SessionState.IRequiresSessionState
   System.Web.SessionState.IReadOnlySessionState

[Visual Basic]
Public Interface IReadOnlySessionState
   Inherits IRequiresSessionState
[C#]
public interface IReadOnlySessionState : IRequiresSessionState
[C++]
public __gc __interface IReadOnlySessionState : public
   IRequiresSessionState
[JScript]
public interface IReadOnlySessionState implements
   IRequiresSessionState

Remarks

You must import this interface into your custom handlers to read session-state values.

Requirements

Namespace: System.Web.SessionState

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

Assembly: System.Web (in System.Web.dll)

See Also

System.Web.SessionState Namespace

Show: