php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25931 changing variables_order in apache conf breaks sessions
Submitted: 2003-10-21 05:45 UTC Modified: 2003-10-21 10:52 UTC
From: adepali at yahoo dot com Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.3.4RC2 OS: Redhat 9
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: adepali at yahoo dot com
New email:
PHP Version: OS:

 

 [2003-10-21 05:45 UTC] adepali at yahoo dot com
Description:
------------
Whenever I change variables_order value in a <Directory> or <VirtualHost> directive, sessions get broken. Each time a session_start() runs, it creates a new session file instead of using the existing one. I'm using Apache 2.0.47. Snipset of httpd.conf appears below:

<Directory "/var/www.html/wfm/">
    php_value variables_order "ES"
    php_flag display_errors  Off
    php_flag log_errors      On
    php_value error_log      /var/www/log/wfm.log
</Directory>




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-21 08:32 UTC] tony2001 at phpclub dot net
Rather interesting:
you're trying to use session, but make PHP totally ignore GET & COOKIE variables.
PHP knows nothing about session ID and creates new session every time.
 [2003-10-21 10:52 UTC] iliaa@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Since GET & COOKIE are not registered how do you expect session to be created, which is generated based on GET or COOKIE?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 29 01:01:30 2024 UTC