On 2/4/08, ISP Lists <isp@xxxxxxxxxx> wrote: > System: LAMP. > Mysql 5.0.38-Ubuntu_0ubuntu1.2-log Ubuntu 7.04 distribution > php PHP 5.2.1 (cli) (built: Nov 28 2007 23:14:55) > apache2 Server version: Apache/2.2.3 > Server built: Aug 16 2007 22:49:04 > Architecture: 32-bit > squirrelmail-1.4.13 > courier imap 4.1.3 > courier authlib 0.59.3 > vpopmail 5.4.17 > > This is a new system and users have been migrated. All functionality > working, squirrel seems quite happy. > > HOWEVER, big difference from prior system and this is that cookie > expiration seems much more aggressive, even though I'm leaving browser > sessions (Firefox tabs) open with folder list refresh set at 2 minutes. > > I used to be able to leave the folders refreshing overnight and the > sessions would be valid in the morning with a list of new messages handy > (please, no lectures on the wisdom of doing this...). Now, with the new > build, the cookies appear to be expiring more aggressively and sessions > time out even under frequent refresh. > > Soooooo..... what controls squirrel's cookie timeout/duration/expiration? PHP cleans up unused sessions after session.gc_maxlifetime seconds (see your php.ini). SM tells the browser the the "key" cookie should expire when the user session is finito (browser closes, computer crashes, fire burns down house). > I've parsed global.php and other source files and cannot find a > time/expiration value set by squirrelmail. grep -rin setcookie src/ functions/ | grep -v \.svn > The php.ini is using "session.cookie_lifetime = 0" (same as prior system, > old system was php4.x) You also need to look at your session lifetime (see above). > Why the difference? What to do/check??? > (some of this might be attributed to being on dynamic IP for DSL, but I'm > certain that there's something different between the old and new system.) > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users