ASP.NET MVC Authentication Cookie Not Being Retrieved
Posted
by Jamie Wright
on Stack Overflow
See other posts from Stack Overflow
or by Jamie Wright
Published on 2010-06-07T11:43:36Z
Indexed on
2010/06/07
12:42 UTC
Read the original article
Hit count: 399
I am having a hard time implementing "Remember Me" functionality in an MVC application with a custom principal. I have boiled it down to ASP.NET not retrieving the authentication cookie for me. I have included a snaphot below from Google Chrome.
Shows the results of Request.Cookies that is set within the controller action and placed in ViewData for the view to read. Notice that it is missing the .ASPXAUTH cookie
Shows the results from the Chrome developer tools. You can see that .ASPXAUTH is included here.
Does anyone know what the issue may be here? Why does ASP.NET not read this value from the cookie collection?
© Stack Overflow or respective owner