
IRequiresSessionState | 633
SesstionState
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Returned By
System.Web.HttpApplication.Session, System.Web.HttpContext.Session, System.Web.
Services.WebService.Session, System.Web.UI.Page.Session, System.Web.UI.UserControl.
Session
IReadOnlySessionState
System.Web.SessionState (system.web.dll)
interface
This interface should be implemented by a custom HttpHandler (any class that inter-
prets 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.
IRequiresSessionState
System.Web.SessionState (system.web.dll)
interface
This interface should be implemented by a custom HttpHandler. This interface
contains no members and is used only as a marker. When present, it tells ASP.NET
that the HttpHandler should be given read and write access to the HttpSessionState
collection.
Every HttpHandler should implement either IReadOnlySessionState or IRequiresSessionState,or
session state variables will not be accessible.
public bool IsSynchronized{get; } // implements ...