I use a session for a syste to varify login... However sometimes the session seems to timeout (as I'd expect) however it seems random, sometimes it's within a few mins of 'inactivity' and other times i have seen it not timing out if left 'logged in' overnight and continue work in the morning.
How can I stop this and/or bring some kind of consistency? Below is the session part of my php.ini with the comments stripped out to save needless text :) Thanks In Advance.... OS: Xeon 2Ghz, 1gb Ram, Windows 2000 Server - SP 4, NTFS disks types, PHP Version 4.3.0RC3, IIS (4 is it that's on Win 2000). [Session] session.save_handler = files session.save_path = C:\PHP\sessiondata ; argument passed to save_handler session.use_cookies = 1 ; session.use_only_cookies = 1 ; Name of the session (used as cookie name). session.name = PHPSESSID session.auto_start = 0 ; Lifetime in seconds of cookie or, if 0, until browser is restarted. session.cookie_lifetime = 0 session.cookie_path = / ; The domain for which the cookie is valid. session.cookie_domain = ; Handler used to serialize data. php is the standard serializer of PHP. session.serialize_handler = php session.gc_probability = 1 session.gc_dividend = 100 session.gc_maxlifetime = 1440 session.bug_compat_42 = 1 session.bug_compat_warn = 1 session.referer_check = session.entropy_length = 0 session.entropy_file = ;session.entropy_length = 16 ;session.entropy_file = /dev/urandom ; Set to {nocache,private,public,} to determine HTTP caching aspects or leave this empty to avoid sending anti-caching headers. session.cache_limiter = nocache ; Document expires after n minutes. session.cache_expire = 180 session.use_trans_sid = 0 url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset=" -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php