SessionStateUtility.IsSessionStateReadOnly(HttpContext) Method

Definition

Gets a value which indicates whether the session state is read-only for the specified HttpContext.

C#
public static bool IsSessionStateReadOnly(System.Web.HttpContext context);

Parameters

context
HttpContext

Specifies the HttpContext to check.

Returns

true if the session state is read-only; otherwise, false.

Applies to

Product Versions
.NET Framework 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1