Description: /*** *** *** *** *** *** *** *** *** *** *** *** *** **//**
A typical usage of this class would look something like this:
CookieManager cookieManager = new CookieManager()
// Set a cookie value
cookieManager.CookieValues["FavoriteCookie"] = "Chocolate Chip"
HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(url)
// Publish the cookies to the request before asking for the response
cookieManager.PublishCookies(webRequest)
HttpWebResponse webResponse = (HttpWebResponse)webRequest.GetResponse()
// Store any cookies returned from the response
cookieManager.StoreCookies(webResponse)
// Get the value of a cookie
string session = cookieManager.CookieValues["SESSIONID"]
webRequest = (HttpWebRequest)WebRequest.Create(url2)
cookieManager.PublishCookies(webRequest)
webResponse = (HttpWebResponse)webRequest.GetResponse()
************************************************************************************/
File list (Check if you may need any files):
2009_4_CookieManager.cs