|
Peter,
That is a great idea.
Building on that you could also stop the load after a long period of time by
loading a blank page into the frameset after say an hour or so. Once done the
normal session timeout would happen. On the parent page, since Rick is using
JavaScript:
<form id="blankForm" name="blankForm" action="blank.html"
target="/%framesetName%/">
script
var stopReloadPeriod=3600000
setTimeout('blankForm.submit();',stopReloadPeriod);
/script
would stop the meta refresh page after an hour.
Bill
----- Original Message -----
From: Peter von Stöckel
To: Lotus Domino on the iSeries / AS400
Sent: Wednesday, May 12, 2004 11:12 AM
Subject: Re: Session Time Out for browser app
Rick,
I never use Domino Designer Framesets for web apps if I don't have to. They
are too limited. You can create a HTML frameset using a Page, Form or
Document, depending on your needs. Use passthrough HTML, brackets or make
the form or page content HTML.
I have used both a Page, a Form and a Document for the dummy page, for
different needs. It doesn't have to contain more than a valid HTML page
with the meta tag, since it won't be visible
This is an example of a frameset I've used. There are two frames, and the
size of the refresh frame is set to *, while the other frame is set to
100%:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<title>Title here</title>
</HEAD>
<frameset framespacing="0" frameborder="0" marginwidth="0" marginheight="0"
border="false" rows="*,100%">
<frame name="refresh" src="webpages/refresh" scrolling=No
frameborder=0 marginwidth=0 marginheight=0 noresize>
<frame name="pviewer" src="webpages/home" scrolling=Auto
frameborder=0 marginwidth=0 marginheight=0 noresize>
</frameset>
</HTML>
This is an example of the "refresh" web page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Dummy page</title>
<meta http-equiv="refresh" content="300; url=refresh">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Keep me logged in!
</body>
</html>
/Peter
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.