|
-
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
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
|