Solved

Perform action just before session timeout.

Posted on 2008-06-18
3
379 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 500 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Saving email w/ attachments using lotus notes 7 321
Email Message Background Color 4 155
Why won't this building block macro run? 6 298
Lotus Notes: Email Delivery Failure 5 232
For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Suggested Courses

751 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