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" 
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 


  ----- 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..

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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