This is a mirror of official site: http://jasper-net.blogspot.com/

C# Iterating Cookies Returned Back from Server

| Monday, July 18, 2011
When sending a request via the HTTP protocol to specific URL we might get back together with the response various HTTP headers. Among those headers we might identify specific headers that instruct our browser to create cookies. We can easily iterate the cookies we get from the server by using a CookieContainer object we can attach our HttpWebRequest object. Once the HttpWebResponse object is acccessible we can refer its Cookies property that holds a collection of all cookies the server returned. This following video clip shows how to do it.

Read more: Life Michael
QR: c-iterating-cookies-returned-back-from-server.aspx

Posted via email from Jasper-net

0 comments: