Opening HttpWebRequest in Internet Explorer

  • Thread starter Thread starter mwieder
  • Start date Start date
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!
 
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,
 
Back
Top