#20449 [Com]: sessions randomly fail
| From: | josh at zebotech dot com | Date: | Sun, 17 Nov 2002 02:33:39 +0000 |
| Subject: | #20449 [Com]: sessions randomly fail | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25079@lists.php.net to get a copy of this message | ||
ID: 20449
Comment by: josh@zebotech.com
Reported By: josh@zebotech.com
Status: Feedback
Bug Type: Session related
Operating System: redhat 7.3
PHP Version: 4.3.0-dev
New Comment:
Ok, I can only open or close this. If you'd like, change it to
feedback. I will provide more details soon.
I'm very anxious to help squash this problem.
Previous Comments:
------------------------------------------------------------------------
[2002-11-16 20:32:11] josh@zebotech.com
As for an example script...I don't think I could make it short.
However, the script is only a shopping cart. I'm not doing anything out
of the ordinary. It is a simple array of strings. I try to store the
array as a session.
Like I said before, I've never been able to break it myself. However,
I do see evidence of it breaking. (ie. the e-mail that is sent to me)
I guess it should be possible to write a script that continuously tries
to add to cart then checkout and see if it would break that way.
I will do so and get back to you. In the meantime, I will change the
status of this to feedback.
------------------------------------------------------------------------
[2002-11-16 19:55:52] josh@zebotech.com
The php version I'm using at the moment is
PHP Version 4.4.0-dev
Any other info can be found here.
http://www.t-shirtking.com/temp/phpinfo.php
------------------------------------------------------------------------
[2002-11-15 19:32:38] sniper@php.net
Can you add _short_ example script here that shows the problem, as I'm
using sessions a lot and never have had any problems with them. Albeit
I haven't tried to overload them too much either. Maybe you're doing
something that isn't really been thought about when the session
extension was written?
------------------------------------------------------------------------
[2002-11-15 19:26:09] sniper@php.net
Please put correct version number in the report..
I assume it's 4.3.0-dev but if it's something else, please
change it.
------------------------------------------------------------------------
[2002-11-15 16:35:46] russ@zerotech.net
I've experienced the same problem, on various platforms. SPARC Solaris
8 with PHP 4.2.2, Intel Linux 2.4 with PHP 4.2.3, and RedHat Alpha
Linux 2.4 with PHP 4.2.3.
However I'm not using it in the context of a shopping cart, my
application is that of a "Checksheet" that we use to mark off Quality
Assurance items. The Checksheet is large so I store the form contents
in a session. They can move through all kinds of menus and parts of the
Checksheet and the work is stored entirely in a session. About 8 people
use this Checksheet system throughout the day 7 days a week, about once
a day suddenly the Checksheet system will say they aren't logged in,
and when they relogin in, their work is gone. I've implemented a quick
and dirty save to database feature for long term storage and I've
encouraged my users to frequently save. The save merely serializes the
Checksheet object that is normally stored in a session, and saves it to
a database.
------------------------------------------------------------------------
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/20449
--
Edit this bug report at http://bugs.php.net/?id=20449&edit=1