Function CSPSetCookieSet::GetCookie()

Description:
Retrieves a cookie by name.

Prototype:
CSPSetCookie& GetCookie(const CSPString& strName);

Arguments:
  • const CSPString& strName [IN]
    The name of the cookie.



Return value:
Returns a reference to the cookie requested.

Remarks:
If the cookie does not exists, a new cookie is first automatically created, and then the reference to it is returned.

Examples:
Response.Cookies.GetCookie( "mycookie" ) = "Vanilla";

See also:
member function operator () (), GetCookie( unsigned long ), operator [] ()
CSPSetCookieSet | Intrinsic objects and classes | Class Categories | Online help home | Back

www.micronovae.com

Copyright © 2002 - 2005 Micronovae Ltd