How To Set and Get Cookies for a URL Using WinInet APIs (196062)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Windows Internet Services (WinInet)
This article was previously published under Q196062 SUMMARY
From a Visual Basic application, you can set and get cookies on a client
that corresponds to a given URL by using the InternetSetCookie and
InternetGetCookie APIs from the WinInet.dll.
REFERENCES
For more information on the WinInet APIs (and specifically the
InternetSetCookie and InternetGetCookie functions), please see the WinInet
documentation in the MSDN library and the following Web sites:
WinInet.dll:
Cookie APIs:
Modification Type: | Minor | Last Reviewed: | 8/30/2004 |
---|
Keywords: | kbAPI kbhowto kbInetDev KB196062 |
---|
|