Page 1 of 1

POSTing from HTTP to HTTPS - help

Posted: Thu Nov 13, 2003 11:41 am
by smcpoland
Hi,

I have the following code in page1

http://www.A.com/page1.php

Code: Select all

<form action="https://vault2.X.com/X/pers_p1.php", method="post">
   <a href="https://vault2.X.com/X/pers_p1.php">
   <img src="../images/CTA_Go_to_Checkout.gif" ></a>
   <input value="<?php echo $_COOKIE&#1111;'cookieval']; ?>" type="hidden" id="pwdSID" name="pwdSID">
</form>
obviously I am expecting the variable pwdSID to be passed to the following page on the HTTPS server......

Page2 on the HTTPS does this.....

Code: Select all

foreach($HTTP_POST_VARS as $varname => $value)
	echo "p ".$varname."->".$value."<br>";
to display the data passed but there is no data - is this a problem with posting from HTTP to HTTPS?

I have also noted that all my $_SESSION varibales set in the HTTP pages are not able to be accessed.

Can anyone shed any light

TIA
Sean

Posted: Fri Feb 20, 2004 8:37 am
by baerkens
We are experiencing the same problem. We have traced (we think) it to IE and the latest patch. There is a patch for IE that apparantly fixes this problem.

People using unpatched IE do not seem to have the problem. Or other browsers.

However, we still want to see if there is any way around this as we can't tell our users to patch IE. We are going to upgrade to PHP version 4.3.4 early next week and hope this helps.

What version of PHP are you using.