Bill,

That's not a bad idea. If the browser doesn't support JavaScript, you could
also set it to a certain number of reloads of the dummy page, with a
parameter (?OpenDocument&count=x). It would take a bit more programming on
the server side, but not very difficult. So you just check what parameter
count was set to, and then increment it. When it reaches a predetermined
value, you just dont enter the refresh meta tag.

/Peter



                                                                           
             "Bill M"                                                      
             <meechamw@xxxxxxx                                             
             >                                                          To 
             Sent by:                  "Lotus Domino on the iSeries /      
             domino400-bounces         AS400" <domino400@xxxxxxxxxxxx>     
             @midrange.com                                              cc 
                                                                           
                                                                   Subject 
             2004-05-12 17:36          Re: Session Time Out for browser    
                                       app                                 
                                                                           
             Please respond to                                             
              Lotus Domino on                                              
               the iSeries /                                               
                   AS400                                                   
             <domino400@midran                                             
                  ge.com>                                                  
                                                                           
                                                                           




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

_______________________________________________
This is the Lotus Domino on the iSeries / AS400 (Domino400) mailing list
To post a message email: Domino400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/domino400
or email: Domino400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/domino400.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.