Function CSPGetCookieSet::operator []()

Description:
Retrieves a cookie by index.

Prototype:
const CSPGetCookie& operator [](unsigned long ulIndex) const;

Arguments:
  • unsigned long ulIndex [IN]
    The index of the cookie to retrieve.



Return value:
Returns a reference to the requested cookie.

Remarks:
Use member function GetCount() to retrieve the number of cookies available.

Examples:
unsigned long ulCookieCount = Request.Cookies.GetCount();
CSPString strCookie = Request.Cookies[ ulCookieCount - 1 ].Value;

See also:
member functions GetCookie( unsigned long ), operator (), GetCookie( const CSPString& )
CSPGetCookieSet | Intrinsic objects and classes | Class Categories | Online help home | Back

www.micronovae.com

Copyright © 2002 - 2005 Micronovae Ltd