lots of banks have interfaces that have similar processes. I'd go login to
yoru bank and see fi they do it.
DRE
-----Original Message-----
From: Jim Campbell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 10:06 AM
To: CF-Community
Subject: Re: Bouncing this idea off my fellow developers.
Sure. Try using onMouseMove(), onClick() and onKeyPress() (I think)
applied to <body> . Anytime something triggers those listeners, it
resets your counter. Of course, all that continuous input could cause
some processing problems, but it's worth a shot.
- Jim
Ian Skinner wrote:
>I have a requirement where a page should automatically log out after a
period of inactivity say five minutes. So I create _javascript_ functions
that start a timer and log out the page at the end of the set period of
time. I then start the timer off and running in the body tag's onload
property.
>
>I think that all is pretty straight forward. But, in this scenario the
timed event will fire unless the page is reloaded, correct? So, if this is
a large page where the user may be scrolling and clicking on various
elements of the page, but not reloading the page the timer will continue to
run, will it not?
>
>Is there anyway to distinguish between true inactivity (no mouse
movement/clicking and/or keyboard inputs) versus time between page loads?
>
>
>
>--------------
>Ian Skinner
>Web Programmer
>BloodSource
>www.BloodSource.org
>Sacramento, CA
>
>"C code. C code run. Run code run. Please!"
> - Cynthia Dunning
>
>Confidentiality Notice: This message including any
>attachments is for the sole use of the intended
>recipient(s) and may contain confidential and privileged
>information. Any unauthorized review, use, disclosure or
>distribution is prohibited. If you are not the
>intended recipient, please contact the sender and
>delete any copies of this message.
>
>
>
>
_____
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- Bouncing this idea off my fellow developers. Ian Skinner
- Re: Bouncing this idea off my fellow developers. Jim Campbell
- RE: Bouncing this idea off my fellow developers. Lyons, Larry
- RE: Bouncing this idea off my fellow developers. Andre Turrettini
- RE: Bouncing this idea off my fellow developers. Harkins, Patrick