Personally, I think this is great stuff and hope you keep it on the list,
'cause I'm learning as you go!

Patrick



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




Rick,
Brainstorming is great stuff!
For any input field's onBlur or onFocus you could do submit a form that
would load in a hidden frame or iframe on the page:


<form id="dummyPage" name="dummyPage" action="dummyPage.html"
target="frameName">
onblur=" dummyPage.submit(); "

That would keep the session open only if they were active on the page.  I
wouldn't use onChange.  I guess you could add it to the onMouseOver.  Or
you could add some <div>'s to the page and add it to them as onMouseOvers
as well.  Problem with that is that some optical mice trigger the mouse
over event a lot easier than normal mice, of course bumping the mouse would
keep the session alive as well.



We are getting away from the intent of this list with this discussion.  If
additional html or javascript discussions are necessary we should take this
offline.

Bill
meechamw@xxxxxxx

  ----- Original Message -----
  From: rick.baird@xxxxxxxxxxxxxxx
  To: domino400@xxxxxxxxxxxx
  Sent: Wednesday, May 12, 2004 3:00 PM
  Subject: Re: Session Time Out for browser app



  Peter and Bill,

  Just for discussion's sake let's take this a step further...

  It would be nice if I could somehow tell the dummy page that I was
actually
  active in the main document - i.e. only refresh the session by reloading
  the page if they had been active (changing, focus/blur fields on the
page)
  in the last 5 minutes.

  This way, the security of having the session time out would be preserved,
  while keeping it open if they are actually keying data.

  Maybe I could use a generic function for the onfocus, onblur or onchange
  event for input fields on the document that would set a variable on the
  dummy page indicating there is activity, causing the page to refresh
within
  the session timeout time span.  when the dummy page refreshes, this
  variable would be reset to it's original value, and the page would only
  refresh again if the variable was changed again.

  Is there a way to condition the meta tag?   or, can a page be refreshed
in
  other ways?  is there a function or @command to retrieve the session
  time-out value (I couldn't find one)?

  Just thinking out loud..
_______________________________________________
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-2021 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.