ID: 22483 User updated by: dmj28 at student dot canterbury dot ac dot nz Reported By: dmj28 at student dot canterbury dot ac dot nz -Status: Open +Status: Closed Bug Type: Session related Operating System: FreeBSD 4.5 PHP Version: 4.3.2-dev New Comment:
Fixed. Thanks to [EMAIL PROTECTED] Individual directories for sessions of each virtual host solved the problem (/tmp/site1_sessions and /tmp/site2_sessions). Although, I don't understand why! Many thanks :-) Previous Comments: ------------------------------------------------------------------------ [2003-03-03 20:56:46] dmj28 at student dot canterbury dot ac dot nz The session id is being set by php. Is it possible that php could choose the same session id for a person if they open a new browser window and a different site? Is it that the same session id is generated occasionally? And the two sites clash? ------------------------------------------------------------------------ [2003-03-03 20:00:46] [EMAIL PROTECTED] Limit is the free space. And are you setting the session id yourself in your script perhaps? (maybe unintentionally?) And it's always good idea to configure your different virtualhosts to have their own directories where the session files are hold.. ------------------------------------------------------------------------ [2003-03-03 17:13:43] dmj28 at student dot canterbury dot ac dot nz I notice many session files of size ~3k and many others around 30k. Is there a limit on the size of session files which could cause expiry? ------------------------------------------------------------------------ [2003-03-03 16:35:59] dmj28 at student dot canterbury dot ac dot nz Upgrading has not fixed the problem. Is it possible, that two sites running different php applications which use sessions holding classes, with names such as: x.companyxyz.com and y.companyxyz.com could cause sessions to expire for some reason? Perhaps if they store different classes. Because these sites do appear to share the same session. Many thanks for any assistance. ------------------------------------------------------------------------ [2003-02-28 19:19:51] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22483 -- Edit this bug report at http://bugs.php.net/?id=22483&edit=1
