Hi, I have having problems getting the session to automatically destroy itself after inactivity. Currently I am using the following code, just to test my setup before writing a bigger project.
<? session_start(); ?> <html> <body> <? $_SESSION['count'] = $_SESSION['count']+1; echo "COUNT = " . $_SESSION['count']; echo "<br>Current Cache Expire = " . session_cache_expire(); // currently set to 1 in php.ini ?> </body> </html> my php.ini file has the following session settings:- [Session] session.save_handler = files session.use_cookies = 1 session.name = PHPSESSID session.auto_start = 0 session.cookie_lifetime = 0 session.cookie_path = / session.cookie_domain = session.serialize_handler = php session.gc_probability = 1 session.gc_maxlifetime = 1 session.referer_check = session.entropy_length = 0 session.entropy_file = ;session.entropy_length = 16 ;session.entropy_file = /dev/urandom session.cache_limiter = nocache session.cache_expire = 1 session.use_trans_sid = 1 The server is running Apache 1.3.26, PHP4.2.1(apache module) on FreeBSD 4.6 Can anyone help, cheers Lee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php