php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29230 preserve state from http to https for session variables
Submitted: 2004-07-17 21:08 UTC Modified: 2004-07-18 14:55 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: pras_osu at yahoo dot com Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.2.2 OS: Linux Debian 2.4.20-2.11
Private report: No CVE-ID: None
 [2004-07-17 21:08 UTC] pras_osu at yahoo dot com
Description:
------------
PLEASE NOTE: This report is not associated with PHP Engine version 4.3.7 (I had to select it to by-pass your HTML form setup and as I couldn't figure out my problem from the bug reports search)

------ Server side info ------
PHP Engine Version 4.2.2
Operating System: Linux Debian 2.4.20-2.11
------------------------------

I am not sure whether the following is a bug associated with PHP Engine 4.2.2 or with the Operating System or with the client side browser.

The Session variable (multi-dimensional array) that i use for shopping cart doesn't preserves state while doing a transition from HTTP to HTTPS connection. Or in other words, while transferring from shopping-cart page to a secure checkout page. Seems like it loses its content.

Interesting enough on the client side, this seems to work perfectly fine with my browser on MS-IE 6.0.28 (with all security updates up-to-date) on Windows XP platform and also on Mozilla 1.6 on the same platform.

The same tested on a friend's machine running MS-IE 6.0.26 (i believe not up-to-date with security updates) on Win XP as well as Netscape Gecko browser (version not known) doesn't seem to preserve the session variable (shopping cart) while moving from HTTP to HTTPS connection.

I am stuck here. Unable to figure out whether it could be a problem associated with earlier Microsoft security updates or with the older PHP Engine/LINUX Debian OS on the Server side?

Your earliest attention is much appreciated.

Let me know if I should request the Server Admin to upgrade the PHP Engine Version?



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-17 21:18 UTC] pras_osu at yahoo dot com
Please checkout the problem on the following site:

http://cpapusa.com/

I have set the site in Testing Mode to display the SESSION Variable Array() contents. Thank You.
 [2004-07-18 14:55 UTC] magnus@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

And your PHP version is too old, PHP 4.3.8 have been 
released a few days ago. 
 
Also, whenever it works in one browser but not in another 
it's probably some bug in your code. 
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Sep 08 21:00:01 2025 UTC