Cookies are the means by which, under HTTP protocol, a server or a script can maintain state information on the client workstation. The Microsoft® Win32® Internet functions maintain a persistent cookie database for this purpose. Cookie functions are provided for users of Win32 Internet functions to set cookies into, and access them from, the cookie database. For more information about cookies, see Cookie Functions in the Win32 Internet Functions Overview.
InternetGetCookie | Retrieves the cookie for the specified URL. |
InternetSetCookie | Creates a cookie associated with the specified URL. |