Forum guidelines
AuthorQuestion
How to show countdown when user session expired?
Posted on: 17 Dec 2012
Hi Friends,
   I need to show countdown while user session getting expire?
    How can i achieve this?

AuthorReply
Re: How to show countdown when user session expired?
Posted on: 19 Dec 2012  
you should know your session timeout period configured on your server.

 call a jquery method at regular interval to check if any activity is done on the page.

 if yes then reset the counter.

 if no then keep counting and when the time comes show the popup.

 and when time completes => using web service ajax call terminate the session of user.

 search forums.asp.net you'll find many solutions.

SPONSORED BY

Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.