|
-
March 23rd, 2002, 01:12 AM
#1
HttpWebRequest in .Net
Hello,
Has anyone worked with HttpWebRequest with Cookie support? I need to receive page from WebServer, but for the request with cookies.
It works well for requests without cookies. For example,
HttpWebRequest request = (HttpWebRequest)WebRequest.Create("http://192.168.0.1/cookie/");
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
Stream stream = response.GetResponseStream();
But it seems, that contents of CookieContainer is simple ignored.
Do you have any suggestions?
Thanks,
Vitaly Gorelov
-
July 22nd, 2003, 01:31 PM
#2
hello everybody!
i've the same problem (hmm... 1 year later ....)
can anybody explain me, how to handle cookies?
(for example to pass a login, that requires them)
thanks in advance
ciao
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
|