ASP.NET MVC Cookie loses value when page is changed

Posted by Jova on Stack Overflow See other posts from Stack Overflow or by Jova
Published on 2010-06-14T06:28:11Z Indexed on 2010/06/14 6:32 UTC
Read the original article Hit count: 325

Filed under:
|
|

When a user logs in to my site, I create a cookie with some info in it. However, whenever they change page from logging in, the cookie loses it's value. Cookie is still there but it's empty.

I've checked my code and the cookie doesn't get rewritten by anything I've done. Does anyone have any idea to why the cookie becomes empty when the page is changed?

© Stack Overflow or respective owner

Related posts about c#

Related posts about asp.net-mvc