CInternetSession::GetCookieLength

static DWORD GetCookieLength( LPCSTR pstrUrl, LPCTSTR pstrCookieName );

Return Value

A DWORD value indicating the length of the cookie, stored in the buffer. Zero if no cookie with the name indicated by pstrCookieName exists.

Parameters

pstrUrl

A pointer to a string containing the URL

pstrCookieName

A pointer to a string containing the name of the cookie.

Remarks

Call this member function to get the length of the cookie stored in the buffer. This value is used by GetCookie.

CInternetSession OverviewClass MembersHierarchy Chart

See Also   CInternetSession::SetCookie