Opening HttpWebRequest in Internet Explorer

M

mwieder

Hi - I'm writing some web site automation using HttpWebRequest. At a
certain point in the process, I need to continue the session that I
have started inside Internet Explorer as opposed to continue through
HttpWebRequest. I can save off the web page and open it in IE, but how
do I pass the cookie that was being used in my HttpWebRequest object to
IE?
thanks!
 
J

Joerg Jooss

Hi - I'm writing some web site automation using HttpWebRequest. At a
certain point in the process, I need to continue the session that I
have started inside Internet Explorer as opposed to continue through
HttpWebRequest. I can save off the web page and open it in IE, but
how do I pass the cookie that was being used in my HttpWebRequest
object to IE?

Educated guess: Use WinInet's InternetSetCookie() to create a new IE
cookie before spawning an IE process.

Cheers,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top