ID: 17846
Comment by: dimo414 at gmail dot com
Reported By: fabian at ahrberg dot se
Status: No Feedback
Bug Type: Session related
Operating System: Linux 2.4 kernel
PHP Version: 4.2.1
New Comment:
I noticed that in my case my webhost (FatCow) wants you to set the
session_save_path to a special location, I was having this or a similar
issue and when I found that snippet of (very buried!) documentation,
the
problem seems to now be resolved.
http://members.fatcow.com/knowledgebase/read_article.bml?kbid=600
Previous Comments:
------------------------------------------------------------------------
[2003-12-09 12:35:47] simon at infomaniak dot ch
I'm experiencing the same problem too.
I've noticed that even if it was set to 0 in php.ini,
session.cookie_lifetime had random values at session start.
I'm now trying to force it to 0 using
<i>ini_set( 'session.cookie_lifetime', 0);</i>
before the first session_start(). It seems to work but I'm not really
sure for now, I have to test it more.
------------------------------------------------------------------------
[2003-07-09 09:18:57] wieri420 at planet dot nl
I had the random faillure of sessions too.
Are you using cookies and sessions in one script?
Try commenting all cookie related functions (setcookie etc..) and see
if it solves the problem.
It solved the session problem for me.
I'm curious if it solves the problem for others too...
------------------------------------------------------------------------
[2002-08-20 21:47:01] rossr at reactive dot com
I'm exeriencing the same bug, where the session randomly dissappears
and the user is logged out of our site. This appears to be happening
across different browsers and platforms as previously mentioned.
The site is hosted on the same OS (Linux 2.4 Kernel) but the version of
PHP is 4.2.2
The setting for "session.cookie_lifetime" is set to 0 in our php.ini
file.
------------------------------------------------------------------------
[2002-08-03 01:00:12] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2002-07-02 22:06:37] sniper@php.net
Is session.cookie_lifetime = 0 in your php.ini?
------------------------------------------------------------------------
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/17846--
Edit this bug report at http://bugs.php.net/?id=17846&edit=1