SessionStateUtility.IsSessionStateReadOnly(HttpContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value which indicates whether the session state is read-only for the specified HttpContext.
public:
static bool IsSessionStateReadOnly(System::Web::HttpContext ^ context);
public static bool IsSessionStateReadOnly (System.Web.HttpContext context);
static member IsSessionStateReadOnly : System.Web.HttpContext -> bool
Public Shared Function IsSessionStateReadOnly (context As HttpContext) As Boolean
Parameters
- context
- HttpContext
Specifies the HttpContext to check.
Returns
true
if the session state is read-only; otherwise, false
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.