[imp] Frequent session timeout problem in IMP 3.1/Horde 2.1

Stanley Yuen Stanley at itsc.cuhk.edu.hk
Mon Nov 24 22:42:47 PST 2003


Dear Patrick,

Here is the session information in the phpinfo() page.

session.auto_start        Off Off 
session.cache_expire      180 180 
session.cache_limiter     nocache nocache 
session.cookie_domain     no value no value 
session.cookie_lifetime   0 0 
session.cookie_path       / / 
session.cookie_secure     Off Off 
session.entropy_file      no value no value 
session.entropy_length    0 0 
session.gc_maxlifetime    7200 7200 
session.gc_probability    1 1 
session.name              PHPSESSID PHPSESSID 
session.referer_check     no value no value 
session.save_handler      files files 
session.save_path         /tmp /tmp 
session.serialize_handler php php 
session.use_cookies       On On 
session.use_trans_sid     1 1 

Should we modify any session setting here?

Best regards,
Stnley

-----Original Message-----
From: imp-bounces at lists.horde.org [mailto:imp-bounces at lists.horde.org] On
Behalf Of Patrick Boutilier
Sent: Monday, November 24, 2003 8:58 PM
To: 'imp at lists.horde.org'
Subject: Re: [imp] Frequent session timeout problem in IMP 3.1/Horde 2.1


What does the phpinfo.php page say about sessions?



Stanley Yuen wrote:
> Dear all,
> 
> Our site is using IMP 3.1 and horde 2.1.    We found that some users here
> had suffered from a session timeout problem very often.    Intially we
> believed this was a session limit problem and we then changed the 
> corresponding values to the following:
> 
> session.gc_maxlifetime = 7200   ; garbage collection is now 2 hours
> session.gc_probability = 1     ; percentage chance for gc each call
> session.cookie_lifetime = 0     ; 0 means until browser restarted
> 
> But it did not solve his problem.   From the log file, we still found that
> sessions would be expired in 15-30 minutes.  I tried to repeat this 
> problem here but, unfortunately, I could not.
> 
> Did any experts here encounter similar situation?   If yes, would you
> suggest your solution on this?  BTW, session cookies has been enabled 
> already and we use file store IMP sessions, below please find a short 
> summary of Horde/IMP modules installed.
> 
> Would the problem be related to the session problem before PHP 4.3?    And
> should we upgrade our IMP to 3.2.2 in order to solve this problem?
> 
> 
> Horde Versions
> 	Horde: 2.1 
> 	IMP: 3.1 (run IMP tests) 
> 	Turba: 1.1 
> 	Kronolith: 1.0 
> 	Mnemo: 1.0 
> 	Nag: 1.0
> PHP Version
> 	View phpinfo() screen 
> 	PHP Version: 4.2.2 
> 	PHP Major Version: 4.2 
> 	PHP Minor Version: 2 
> 	PHP Version Classification: release 
> 	You are running a supported version of PHP.
> PHP Module Capabilities
> 	FTP Support: Yes 
> 	Gettext Support: Yes 
> 	IMAP Support: Yes 
> 	LDAP Support: Yes 
> 	MCAL Support: Yes 
> 	Mcrypt Support: Yes 
> 	MySQL Support: Yes 
> 	PostgreSQL Support: Yes 
> 	XML Support: Yes 
> Miscellaneous PHP Settings
> 	short_open_tag enabled: Yes 
> 	magic_quotes_runtime set to Off: Yes 
> 	file_uploads enabled: Yes 
> PHP Sessions
> 	Session counter: 1 
> 	To unregister the session: click here 
> PEAR
> 	PEAR - Yes 
> 	Recent PEAR - Yes 
> 	Mail::RFC822 - Yes 
> 	Log - Yes 
> 	DB - Yes 
> 
> 
> Best regards,
> Stanley Yuen
> 
> Information Technology Services Centre,
> The Chinese University of Hong Kong,
> Shatin, N.T., Hong Kong
> 


-- 
IMP mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe at lists.horde.org


More information about the imp mailing list