Javascript force a dialog box to timeout

P

Piyush Parmar

Hi.

I would like to know if it's possible to force a dialog box to
"expire" after so many seconds? The scenario is that I'm holding
various objects in my session. Before it times out, I want to notify
the user to click Okay to save the work now OR click cancel to refresh
the page. What if the user doesn't respond to the dialog box for a
long time and then hits save? Well the session has already timed out!

So, can I have the dialog box appear until the session times out and
then force a refresh without user interaction? I've seen a similar
thing done before on bankOfamerica website, but I'm not sure if it's
with Javascript.

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