php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23245 session.autostart = 1 prevents session data retention accross page executions
Submitted: 2003-04-16 13:00 UTC Modified: 2003-04-28 11:46 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:2 (100.0%)
From: tim at gustnado dot com Assigned:
Status: No Feedback Package: Session related
PHP Version: 4.3.2RC1 OS: Linux 7.3 / 8.0 / 9.0
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2003-04-16 13:00 UTC] tim at gustnado dot com
when php.ini session.autostart is set to 1
the session file is created in /tmp and keys can be registered via session_register() functions.

data can be assigned to the keys using the super global array $_SESSION and access in the scope of the page execution.

On the next access of the session, the keys are still registered, but the data is missing.

The above issue occurs regardless of the use of session_start().

When session.autostart is set to 0, and the session_start() command is used, sessions work normally.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-21 10:11 UTC] sniper@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.



 [2003-04-28 11:46 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


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