SessionAuthenticationModule.ContainsSessionTokenCookie 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.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.