I am using simplemembership in our MVC 4 project and this creates a session as expected but it seems that the user information persists after the session expires.
For example after 20 minutes, If User.Identity.IsAuthenticated == true still works, but my session vars are all empty.
Can someone tell me why this happens? Is this cookie managed? Is it necessary to do some other check than If User.Identity.IsAuthenticated == true?
I can't have someone gaining access if their session has expired.
Thanks