[C#] Need help

04/18/2013 21:57 LanternBoy#1
So i got an application that logs in to a website using HttpWebRequest. After it has done that i would like to open that site in a normal browser while still logged in, is that possible?
04/18/2013 23:30 Kraizy​#2
Well, don't know if it works but try something like this:
PHP Code:
webBrowser.Document.Cookie request.CookieContainer.GetCookies(uri
Edit: Take a look at [Only registered and activated users can see links. Click Here To Register...]
04/19/2013 01:07 dready#3
Depends what you mean with a normal Browser ? Within your application or within another Browser on the System ?

For the first one, what kraizy posted should work
The Seconde one is by far more tricky, you would need to parse the data from the cookie container and then use unique methods for the different browsers availible
04/19/2013 12:26 LanternBoy#4
I did mean a browser on the system such as Firefox, but i might aswell just use the other one, if it's too hard.
04/19/2013 15:04 dready#5
for the ie you can use the windows api to set the cookie
for firefox you need to connect to the sql db where firefox saves them and add them there

other browsers i dont know sorry,, you will have to look this up by yourself