"A Cookie Manager Class for Web Applications"
It has been a while since I had written an article, "A Cookie Manager Class for Web Applications" (http://www.ddj.com/cpp/184401425?pgno=4), on handling Internet Cookies. I used primarily C++/STL, WinInet SDK and Cookie specifications provided by Netscape and RFC 2109. Looks like RFC 2109 has been replaced with RFC 2965 per the information available in http://www.rfc-ref.org/RFC-TEXTS/2109/index.html .
Cookie class (System.Net namespace) in the .Net Framework:
Currently, Cookie class (System.Net namespace) in the .Net Framework provides the support for Netscape, RFC 2109, and RFC 2965 based cookies.The Cookie class is used by a client application to retrieve information about cookies that are received with HTTP responses. The following cookie formats are supported during parsing of the HTTP response headers: Netscape, RFC 2109, and RFC 2965.
http://msdn.microsoft.com/en-us/library/system.net.cookie.aspx
More on the Cookie Specifications:
RFC 2965 - http://www.rfc-ref.org/RFC-TEXTS/2965/
Netscape specification: http://wp.netscape.com/newsref/std/cookie_spec.html
RFC 2109 is obsolete now - see the following URL - http://www.rfc-ref.org/RFC-TEXTS/2109/index.html