Excellent Idea. Thanks.
Any thoughts on how to automate the clean up script. I've got it working provided that the user logs out, but more often than not users simply close a window or quit the browser without loging out.
When they fail to log out, it leaves the session direcotories and files lying around.
Currently I'm logging the session_id and a timestamp into a mySQL table and am planing to implement a Perl script to run as a crontab job to purge the abandoned sessions.
Your idea for the timeout variable will allow me to trigger "expiration" clean up, so all I need to do is deal with the abandoned sessions. I'd prefer some PHP method but will use the Perl crontab if necessary.
Thanks.