Page 1 of 1

Automatically Ending a Session After a Period of Time

Posted: Fri Aug 01, 2003 6:00 pm
by Sigmund Freud
I currently use php nuke to run my website. However, I want to add a script that will track how often users log into the site. The script itself is not a problem.

I want to make it so that after 1 hr, their session automatically ends, and they are forced to log in again.

Any ideas? Thanks in advance!

Posted: Fri Aug 01, 2003 6:30 pm
by Jade
http://us3.php.net/manual/en/function.s ... expire.php


Learn to use the php manual....hehe. Hope that helps.


Jade

Posted: Fri Aug 01, 2003 6:41 pm
by Sigmund Freud
:) Thanx man!