On Thu, 31 Jan 2002, Rick Emery wrote:
> To timeout users after 20 minutes, use a cookie which is set for 20 minutes.

But once again you can have problems with cookies, they're not reliable
(user can have cookies support turned off) and they tend to be good for
CSS attacks :(

You could have a timestamp updated in every access to a page, and then a
cron job to delete the entries with timestamps older than some interval
of time. But I guess that if your app will have tons of load, this is not
a very good solucion :)

Regards.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to