|
-
Oct 17th, 2010, 02:31 PM
#1
Thread Starter
Addicted Member
Using HttpWebRequest (GET and POST) together
Last edited by SavedByGrace; Oct 17th, 2010 at 07:06 PM.
-
Oct 17th, 2010, 05:48 PM
#2
Re: Using HttpWebRequest (GET and POST) together
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
-
Oct 17th, 2010, 06:12 PM
#3
Thread Starter
Addicted Member
Re: Using HttpWebRequest (GET and POST) together
In future, please use the Code or VBCode buttons for code and the Quote button for quotes.
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).
I believe that you need to use the CookieContainer property of the WebRequests to pass cookies from one request to another.
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.
-
Oct 17th, 2010, 06:45 PM
#4
Re: Using HttpWebRequest (GET and POST) together
 Originally Posted by SavedByGrace
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).
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.
 Originally Posted by SavedByGrace
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.
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|