Hi Daniel, >> Why if I connect from another machine, log in, and disconnect without >> logging off, and return 5 mins later, my session is still alive ? > > A session only expires in three cases: > a.) An explicit session_destroy() is sent.* > b.) The user-side cookie with the session key expires. > c.) The session corrupts.+ I didn't set any cookie so it must be the php session cookie. How can I check for the visitor's presence ? I can't set a timer or check for activity since the visitor can be studying an online document. I must rely on the browser connection. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php