This documentation is archived and is not being maintained.

CInternetSession::GetCookieLength 

This topic has been updated for Visual Studio 2005 SP1.

Call this member function to get the length of the cookie stored in the buffer.


static DWORD GetCookieLength(
   LPCTSTR pstrUrl,
   LPCTSTR pstrCookieName 
);

Parameters

pstrUrl

A pointer to a string containing the URL

pstrCookieName

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

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

This value is used by GetCookie.

This section has been updated for Visual Studio 2005 SP1.

This method is not supported in Smart Device projects.

Show: