ID:               20449
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Feedback
 Bug Type:         Session related
 Operating System: redhat 7.3
 PHP Version:      4.3.0-dev
 New Comment:

ok.  This is really frustrating.  I wrote a script that simulates a
cart.  I use fopen once to add something to the cart, and a second time
to check the cart.  (I use uniqid to create a session id and pass it
through the url)

The script simulates it 100 times.  Then, via a interface and iframes,
I have six frames loading the test script.  

See - http://www.t-shirtking.com/temp/testcart.html

This raises the load a little.  However, as you will see, it checks out
everytime.

However, this morning I check my e-mail and find a dozen more messages
from the order page that tells me someones cart was empty.

Next message, I'm gonna show you my cart.  It isn't too complicated.


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

[2002-11-17 11:07:55] [EMAIL PROTECTED]

I too can't reproduce this bug. Someones when someone uses the
Checksheet system the session dies after 15 minutes. I run back and we
repeat every step the person did leading up to the session that
disappears. Wait 15 minutes, do exactly the same thing, but this time
it works. Other times people leave it idle for 2 hours at a time and it
disappears, and sometimes it doesn't. But I have my sessions set not to
timeout, only after browser closes.  I haven't been doing anything
special. After the session 'disppears' I log onto the server and look
at the session save path directory for the session (in an attempt to
recover the data stored in it), and it's no longer there. I'll continue
to try and reproduce this bug and if I find anything I'll post here.

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

[2002-11-16 20:33:38] [EMAIL PROTECTED]

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.

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

[2002-11-16 20:32:11] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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?


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

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

Reply via email to