Name

IReadOnlySessionState

Synopsis

This interface should be implemented by a custom HttpHandler (any class that interprets web requests and implements System.Web.IHttpHandler). The IReadOnlySessionState interface contains no members and is used only as a marker. When present, it tells ASP.NET that the HttpHandler should be given readonly access to the HttpSessionState collection.

Every HttpHandler should implement either IReadOnlySessionState or IRequiresSessionState, or session state variables will not be accessible.

Public Interface IReadOnlySessionState : Implements IRequiresSessionState
' No public or protected members
End Interface

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.