D
Daniel Bass
Hi,
I've a situation where my application has to manage usernames and passwords,
and after a certain amount of idle time, the application will log the
current user out, (assuming they've left without logging out manually) and
prompt for a new log in.
Is there any way to do this, without having to call a reset method on the
timer i've got running in just about every method...
i.e. a global method holds a countdown of idle time, that is reset to my
timeout time everytime the user presses a key, clicks a button, so that when
the idle timer reaches zero, there's been no activity and it logs the user
out.
Is there a cleaner way about this?
Thanks.
Daniel
I've a situation where my application has to manage usernames and passwords,
and after a certain amount of idle time, the application will log the
current user out, (assuming they've left without logging out manually) and
prompt for a new log in.
Is there any way to do this, without having to call a reset method on the
timer i've got running in just about every method...
i.e. a global method holds a countdown of idle time, that is reset to my
timeout time everytime the user presses a key, clicks a button, so that when
the idle timer reaches zero, there's been no activity and it logs the user
out.
Is there a cleaner way about this?
Thanks.
Daniel