session lifetime

From: Date: Fri, 19 Jan 2001 12:45:55 +0000
Subject: session lifetime
Groups: php.windows 
Request: Send a blank email to php-windows+get-5116@lists.php.net to get a copy of this message
I have the following settings in PHP.INI: [Session] session.save_handler = files session.save_path = C:\temp session.use_cookies = 1 session.name = PHPSESSID session.auto_start = 1 session.cookie_lifetime = 0 session.cookie_path = / session.cookie_domain = session.serialize_handler = php session.gc_probability = 1 session.gc_maxlifetime = 86400 ; 24 hours 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 = 180 session.use_trans_sid = 1 url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" I'm using PHP under Windows 2000 with Apache 1.3.12. No matter what number is given in the line session.gc_maxlifetime the session file is deleted after 24 minutes (1440 sec.) Is 86400 a number too big or can someone tell me what there is to do, so I can make my own garbage collection? Thanks, Rolf.

« previous php.windows (#5116) next »