Bewerken

Share via


SessionAuthenticationModule.ContainsSessionTokenCookie Method

Definition

Determines whether a session cookie is in the specified cookie collection.

public:
 bool ContainsSessionTokenCookie(System::Web::HttpCookieCollection ^ httpCookieCollection);
public bool ContainsSessionTokenCookie (System.Web.HttpCookieCollection httpCookieCollection);
member this.ContainsSessionTokenCookie : System.Web.HttpCookieCollection -> bool
Public Function ContainsSessionTokenCookie (httpCookieCollection As HttpCookieCollection) As Boolean

Parameters

httpCookieCollection
HttpCookieCollection

The collection of cookies in which to search.

Returns

true if a session cookie is found; otherwise, false.

Exceptions

httpCookieCollection is null.

Applies to