Discussion:
InternetGetCookie fails on Vista with IE7
(too old to reply)
k***@gmail.com
2007-04-12 00:28:09 UTC
Permalink
I have a program which uses WinInet and a call to InternetGetCookie()
to read a cookie for a particular URL. In Vista, the call to
InternetGetCookie() always fails, even though the cookie has been set
properly and is sent to the web server on subsequent requests.

I've read some reports from others that this happens when IE7 is run
in the default "low priviledge" mode. For example:
http://groups.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/2b2f9f99c66ae2dd/562c6329fec975ea?lnk=st&q=vista+internetgetcookie&rnum=1#562c6329fec975ea

Is there any way to allow InternetGetCookie() to read cookies set for
the *same* user who is running my program??

Thanks.
Scherbina Vladimir
2007-04-20 08:45:53 UTC
Permalink
I do not think so. InternetGetCookie will be following the rules set in
security policy of IE.
--
--Vladimir, Windows SDK MVP
Post by k***@gmail.com
I have a program which uses WinInet and a call to InternetGetCookie()
to read a cookie for a particular URL. In Vista, the call to
InternetGetCookie() always fails, even though the cookie has been set
properly and is sent to the web server on subsequent requests.
I've read some reports from others that this happens when IE7 is run
http://groups.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/2b2f9f99c66ae2dd/562c6329fec975ea?lnk=st&q=vista+internetgetcookie&rnum=1#562c6329fec975ea
Is there any way to allow InternetGetCookie() to read cookies set for
the *same* user who is running my program??
Thanks.
Loading...