DaveEE
08-11-2007, 03:42 PM
I would like to retain a HttpWebRequest.CookieContainer between connections, is there a way I can create an object just to hold it?
I've been creating two HttpWebRequest objects and then setting the CookieContainer of the second one equal to the first one but would rather work with only one HttpWebRequest if possible.
Another alternative would exist if it is possible to redirect a HttpWebRequest without using .Create (something like .Navigate for the WebBrowser). I've found several posts in forums asking how to do this but no answers as of yet.
Thanks,
David
I've been creating two HttpWebRequest objects and then setting the CookieContainer of the second one equal to the first one but would rather work with only one HttpWebRequest if possible.
Another alternative would exist if it is possible to redirect a HttpWebRequest without using .Create (something like .Navigate for the WebBrowser). I've found several posts in forums asking how to do this but no answers as of yet.
Thanks,
David