Reset session.timeout after warning

J

Jenna

Hi all,

Do you know how to reset session.timeout after user click to extend the session timeout?

For example, default session.timeout is 20 mins and 2 mins before will ask whether extend working on the site or logout.

Thanks
 
R

Ray at

As soon as the user hits the server again, the session will be reset to 20
minutes. You can use client side code to count down and prompt the user
after 18 minutes, and make it so if the user answers yes, the page is
refreshed, which will hit the server and reset the timeout. If you don't
want to refresh the page, a friendlier thing to do may be to refresh a
zero-sized frame.

Ray at work

Hi all,

Do you know how to reset session.timeout after user click to extend the
session timeout?

For example, default session.timeout is 20 mins and 2 mins before will ask
whether extend working on the site or logout.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top