I'm using asp.net mvc 5 together with Identity2, standard login/password authentication, with "remember me" checkbox.
Imagine the scenario:
- user logs in (standard auth cookie)
- application is redeployed
- user needs to relogin again.
Questions:
- Is it possible not to relogin after deploy?
- Sometimes, after deploy when you refreshes a page, that requires authorized access - it displays correctly, but if you refresh the second time - it redirects to login page.
All these happens when deployed to IIS7, locally on IIS Express everything is ok.