IReadOnlySessionState Interface

 

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

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

type IReadOnlySessionState = 
    interface
        interface IRequiresSessionState
    end

Implement the IReadOnlySessionState interface in your custom handler to identify that your handler requires only read access to session-state values.

The following code example examines the current HTTP Handler property to determine whether it requires only read access to session-state values.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: