[Mono-list] WebRequest problems
squimmy at gmail.com
Mon Apr 17 12:49:21 EDT 2006
I cannot see how to do this. I've searched the web and found the solution
to parts of the problem but I can't figure out how to put it togerther.
I need to send post values to a server and record the cookies that are
returned.I then need to create a new HttpWebRequest and send the cookies
that I just received with the new HttpWebRequest.
1)HttpWebRequest 1 connects to server and gets cookies
2)HttpWebRequest 2 uses the cookies that HttpWebRequest 1 has and connects
to the server with those cookies
3)get the page HTML returned with HttpWebRequest 2
i've managed to get some parts working. I think I can recored the cookies,
but i don't know how to send the post values, and I certainly don't know how
to put it together.
Thanks for any help!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list