Hello David, On Tuesday, October 07, 2003, David Iyoha wrote... > Hello,
> thanks for your response. > I looked in my php.ini file and this is what I saw: > pfpro.defaulttimeout = 30 > - is this the right variable? > - is the 30 in minutes or seconds? Unfortunately you've been misguided into what you should be looking at. I'm assuming you're after a setting that tells the session to die if they don't access/use it after a set time correct? The variables William suggested you should look at are for the time limit a script is allowed to run for before considered 'unhealthy' for a system, and terminate itself. The later option is for useful for setting a safe time for a script to run before it assumes it got stuck in an infinite loop if it stops doing anything (long waits on other processes for example). The variable you really want to be looking at is: session.gc_maxlifetime That tells you the life of a session. This is usually set in seconds, and is the variable used to tell PHP how long a session is allowed to be inactive for before killing it off. Here are the details: ,----- [ http://www.php.net/session ] | session.gc_maxlifetime integer | | session.gc_maxlifetime specifies the number of seconds after which | data will be seen as 'garbage' and cleaned up. | | Note: If you are using the default file-based session handler, | your filesystem must keep track of access times (atime). | Windows FAT does not so you will have to come up with another | way to handle garbage collecting your session if you are stuck | with a FAT filesystem or any other fs where atime tracking is | not available. `----- As a note to this, there are plugins that allow you to alter this timeout on the fly, and easy ways of getting around this simple timeout is to set the folder refresh to anything under the value set for the above variable. For example mine is set to 5 minute refresh, and I can leave it open all day. If I shut that off, I'd have to keep logging in. -- Jonathan Angliss ([EMAIL PROTECTED]) ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users