php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10221 Double session bug
Submitted: 2001-04-07 08:09 UTC Modified: 2001-06-14 23:36 UTC
From: sicco at uwnet dot nl Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.4pl1 OS: Win2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sicco at uwnet dot nl
New email:
PHP Version: OS:

 

 [2001-04-07 08:09 UTC] sicco at uwnet dot nl
When a session is used by a 'main' script which causes a new browser window popup that also needs the session information (the session is called twice independently by the same user in one mouse-click) the session will be destroyed most of the time and sometimes PHP crashes. This problem occurs too when a shockwave object is loaded that also calls for the session information.
It is possible to prevent this autodestruct by putting an empty echo (e.g.: echo "";) after the second time the session is called (with: session_start();). 

I'm using MySQL for session storage, maybe this causes the  problem.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-14 23:36 UTC] sniper@php.net
Try with latest CVS snapshot from http://www.zend.com/snapshots/ as this should be fixed.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 00:01:29 2025 UTC