I have a weird issue happening with RC2.
I have setup Identity 3 ExpireTimeSpan to 12 hours using the following configuration option
options.Cookies.ApplicationCookie.ExpireTimeSpan = new TimeSpan(12,0,0);
After logging in to the website and leaving it untouched for ~35-40mins, I get a 401 error (for my ajax post calls) and refreshing the website, I get back to the login page.
Why do I have to reauthenticate when I have setup the ExpireTimeSpan to 12hours?
Is there another setting or configuration that I need?
Also,
How can I get the time left before the expiry occurs? I would like to access that information so I could warn my users that their session will expire after X time.
Thanks!