mercredi 18 mai 2016 mvc3 idle time out redirect to login automatically and store log out time

My application is in MVC3 version and i am stuck with the following Problem:

Scenario If user is idle for More than 2 min than he/she should be get log out and also at that moment I have to log his/her time (when their session got ended) to the database.

Problem: As I am storing user info in the session.So once user is redirected to login page their log out time need to be logged also need to consider scenario for multiple browser tabs opened at a moment.

Aucun commentaire:

Enregistrer un commentaire