ID:               22483
 Updated by:       [EMAIL PROTECTED]
 Reported By:      dmj28 at student dot canterbury dot ac dot nz
-Status:           Open
+Status:           Feedback
-Bug Type:         Output Control
+Bug Type:         Session related
 Operating System: FreeBSD 4.5
 PHP Version:      4.3.2-dev
 New Comment:

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..



Previous Comments:
------------------------------------------------------------------------

[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



------------------------------------------------------------------------

[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

Reply via email to