Manage Learn to apply best practices and optimize your operations.

Tracking session timeout

This simple code will help you track the session time out. It can be done with the combination of formula language and this HTML code.

This simple code will help you track the session time out. It can be done with the combination of formula language and this HTML code.

  1. Get the session time out period value from names.nsf from your server and store that value in a field.

  2. Put the following HTML code into the HTML header. The value '3600' that I mention below is one hour, hard-coded. Here you can specify the field names which are getting session time out period multiplied with seconds. Remember, one hour is '3600' seconds.

  3. If you want to automatically save before time out, then call a save agent instead of the form. But set the timeout one or two minutes earlier. (So minus the field value with 120 seconds after getting the value from names.nsf.)
 "&#91;<META HTTP-EQUIV="Refresh" CONTENT="3600; URL=/"+ThisDBW+"/Timeout?
OpenForm">&#93;"

Do you have comments on this tip? Let us know.

This tip was submitted to the SearchDomino.com tip exchange by member Prasad. Please let others know how useful it is via the rating scale below. Do you have a useful Notes/Domino tip or code to share? Submit it to our monthly tip contest and you could win a prize and a spot in our Hall of Fame.

Dig Deeper on HTML for Lotus Notes Domino

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchContentManagement

Close