-Resolved-
Printable View
-Resolved-
In future, please use the Code or VBCode buttons for code and the Quote button for quotes.
As for the question, I've never done it so I don't know the details, but I believe that you need to use the CookieContainer property of the WebRequests to pass cookies from one request to another.
http://www.google.com.au/search?q=ht...ient=firefox-a
I prefer to use quotes for the code - because the #'s that represent the line of code often cause a format nightmare in when copying and pasting into a coding enviroment (VB6 is a good example).Quote:
In future, please use the Code or VBCode buttons for code and the Quote button for quotes.
That's what I suspect too, but I have searched google for hours looking for a good example of how to do this and have searched nearly every post at vbforums that contains the "WebRequest" - A working example is what I'm after.Quote:
I believe that you need to use the CookieContainer property of the WebRequests to pass cookies from one request to another.
We would prefer that you use Code for code. The Quote tags don't format so your code loses all its indenting, making it harder for us to read. If you're concerned about ease of copying and pasting then just use Code rather than VBCode. Even if you use VBCode though, it's easy enough for others to just hit the Reply With Quote button and then they can copy your code without line numbers.I know this topic has been discussed on this forum before, which is the only reason I knew about the CookieContainer in the first place, but I'm afraid that I can't tell you exactly where as I've never taken that much notice.