php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3329 auto_start sessions-> new sessionid each request
Submitted: 2000-01-27 10:26 UTC Modified: 2000-07-25 20:46 UTC
From: alan at sanguis dot com dot au Assigned:
Status: Closed Package: Session related
PHP Version: 4.0 Latest CVS (27/01/2000) OS: RH 6.0 +Apache1.3.9-DSO
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
17 + 41 = ?
Subscribe to this entry?

 
 [2000-01-27 10:26 UTC] alan at sanguis dot com dot au
When session.auto_start is set a new session id is generated for each request. I have had a look at what is going on in the session code with gdb and it appears that when php_rinit_session() calls _php_session_start() the calls to zend_hash_find(&EG(symbol_table), HTTP_???_VARS, sizeof(HTTP_???_VARS)) are failling. (lines 700 and 709 of session.c)


Is request init to early to be looking here for the HTTP_??_VARS ?
Is this the right symbol table in this context ?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-03 14:51 UTC] sas at cvs dot php dot net
Type change
 [2000-07-25 20:46 UTC] zak@php.net
Many session bugs were fixed shortly after this bug report was submitted. Please install the most recent version of PHP. If the problem occurs again, please submit a new bug report.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 01:01:28 2024 UTC