Vist or IE7 and Cookies
I have an application that uses the webbrowser component and when launched goes to a website. Previously I’ve navigated to the web site and set the cookie to remember who I am so I no longer have to log in. However, in my application I am still required to log in. This app worked fine under XP, but not doesn’t appear to work under Vista.Is this due to IE 7? Vista? Security issue in both? Any help would be appreciated, by me and my wife as I keep kicking her off her machine to run this app :)
Thanks
Wayne
This is most likely a security change caused by Vista Protected Mode. Cookies are not shared between Protected Mode IE and medium integrity applications on the machine. To verify, try putting your login site in IE's trusted zone, then retry your scenario.
I have had this same problem with Windows XP and IE7, so it is not limited to Windows Vista. For some reason the cookies folder is MIA. If you go looking for the folder through documents and settings it is not there, even if you go into options to display hidden files and folders. You can find it if you type in \cookies into the address bar. For some reason with IE7, websites cannot find the cookies folder. I have found this somewhat annoying as I have a few websites that automaticly save my preferences, but now I must enter in my info every time.
Dave Massy wrote: |
| Can you supply more details to help us reproduce the issue? Thanks -Dave |
|
On my box I login to site X check the check box that says remember me. Close IE, re-Open it and go back to site X, I do not have to login as I checked the remember me check box. This works as expected.
However, I have a windows application written in C#, dot net 2.0 and VS 2005. On the main form I have dropped the Web Browser control, and when the application starts up I the control navigate to site X, but I am not logged in to the site at this point, if I launch IE I'm still logged in.
This all worked under XP and IE 6, based on other comments I'm guessing this is something in IE 7 and not Vista that is causing this behavior.
Please let me know if you need further explanation.
Thanks
Wayne