SessionStateUtility.IsSessionStateRequired(HttpContext) Método

Definición

Obtiene un valor que indica si el estado de sesión es necesario para el HttpContext especificado.Gets a value which indicates whether the session state is required for the specified HttpContext.

public:
 static bool IsSessionStateRequired(System::Web::HttpContext ^ context);
public static bool IsSessionStateRequired (System.Web.HttpContext context);
static member IsSessionStateRequired : System.Web.HttpContext -> bool
Public Shared Function IsSessionStateRequired (context As HttpContext) As Boolean

Parámetros

context
HttpContext

Especifica el HttpContext que se va a comprobar.Specifies the HttpContext to check.

Devoluciones

true si el estado de sesión es necesario; de lo contrario, false.true if the session state is required; otherwise, false.

Se aplica a