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
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: 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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 21:01:35 2025 UTC