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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With