views:

686

answers:

1

I'm debugging the HttpContext.Current.Request.Cookie values in an ASP.NET web application, and finding the only property correctly populated is the Value. The Domain and Path are null, and the Expires value is set to DateTime.Min.

+2  A: 

Those values are not available in the Request.Cookies collecton. They are only used when you are "setting" the value. You can verify this with a network trace. In the request headers, the client browser only sends the name/value pairs in the "Cookie" header.

David