views:

257

answers:

2

I notice when i visit a certain page with the webbrowser-control i am logged in as the same user as i am in IE. I want to visit the same page as and not as the logged in user. How do i do this? I would hate to repeatedly log in and out.

-edit- I no longer need this. But i'll leave this question up.

A: 

Make sure you clear out the current session, the most likely place the logged in state will be stored.

DanDan
A: 

That is kind of weird. I have the opposite problem. I actually want to share cookies between IE Browser and the WebBrowser control. Maybe IE8 has different behavior than the WebBrowser control that is used in .net 2.0. If I log on to amazon.com in IE8, it remembers me, even if I close down the browser and open it up again. But if I open up amazon.com using the WebBrowser control in a Windows Forms app, it doesn't remember me and I need to log on again.

JustinM
Odd, this should be it owns question but you could possibly be using a tutorial that uses separate cookies or a setting that ignores the IE defaults. Test on other sites, amazon may check the useragent and see its different thus ignoring the cookie.
acidzombie24