Solved

Perform action just before session timeout.

Posted on 2008-06-18
3
376 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 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
names.nsf ODS upgrade 4 421
Domino Server 11 65
Lotus Notes transfer mail box problem 6 91
@Mailsend 3 38
Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

948 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now