#22483 [Opn]: Sessions expire randomly
| From: | dmj28 at student dot canterbury dot ac dot nz | Date: | Mon, 03 Mar 2003 23:13:43 +0000 |
| Subject: | #22483 [Opn]: Sessions expire randomly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-34706@lists.php.net to get a copy of this message | ||
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
Bug Type: Output Control
Operating System: FreeBSD 4.5
PHP Version: 4.3.2-dev
New Comment:
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?
Previous Comments:
------------------------------------------------------------------------
[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] magnus@php.net
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
------------------------------------------------------------------------
[2003-02-28 19:09:11] dmj28 at student dot canterbury dot ac dot nz
The problem is that sessions expire, before they should, apparently
randomly. This did not seem to happen under 4.2. The following
information may be useful:
Two symptoms:
- Php is using the query string to maintain sessions *ALOT* when
cookies would normally be used?
- Sessions occasionally expire well before they should.
- A mail() sends an email with some characters replaced?
Is it possible that some characters of output are being replaced, and
this is causing session id's to be changed, expiring sessions?
Apache 3.27
'./configure' '--with-gd' '--with-jpeg-dir=/usr/local/src/jpeg-6b'
'--with-zlib' '--with-png-dir=/usr/local/src/libpng-1.2.2'
'--with-mysql=/usr/local/mysql' '--enable-ftp'
'--with-apxs=/usr/local/apache/bin/apxs'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22483&edit=1