|
Posted by Erwin Moller on 10/21/59 11:43
Meena wrote:
> Hi all, I want my application to log out the user after a specified
> amount of time set by the user, for example:
>
> If a user sets the time to 15 min, after logging in and 15 min have
> passed the user will be logged out and redirected to the login page
> again.
>
> Any Ideas??
Hi
Just store the time in a sessionvariable, after log in.
Check above every script if that time has passed.
If so, send to loginpage (and maybe destroy session).
Regards,
Erwin Moller
[Back to original message]
|