Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Perform action just before session timeout.

Posted on 2008-06-18
3
Medium Priority
?
382 Views
Last Modified: 2013-12-18
I have a domino form which we are using in a web application. On the top of the form I have the following : <META HTTP-EQUIV="Refresh" CONTENT="300; URL=Javascript:SaveCurrentDocument(); ">

It seems to be working, but sometimes, it does not work. What could be causing this ?  

I want the function to be executed when there has been 5 minutes of no activity from the user on the web page. In domino , what is regarded as activity before timeout ?

How else do I achieve this ?
0
Comment
Question by:devguru001
  • 2
3 Comments
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 1500 total points
ID: 21811511
There is a JavaScript setTimeout function, and also setInterval. Much cleaner than the meta refresh.

http://www.elated.com/articles/javascript-timers-with-settimeout-and-setinterval/
0
 

Author Comment

by:devguru001
ID: 22719385
Hey, sorry for the delay, I have already forgotten what was done here and will assign the points!!!

Thanks for your input as usual.
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 22719602
LOL
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Loops Section Overview

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question