Jump to content

Session works after first visit


Mufleeh

Recommended Posts

Hi All,

 

I have an issue with the session variable.

 

shoppingcart.php is the first file executed and contains the following code,

$postal_charges	            =	get_meter_square() * $postageRate;
$_SESSION['postalcharges']  =	$postal_charges;

and once the 'Proceed' button is pressed its re-directed to purchase.php as following,

window.location='purchase.php';

In purchase.php the value of $_SESSION['postalcharges'] doesn't read. But if I go back and click on 'Proceed' again it reads.

 

Moreover this happens only on Firefox latest one. Can anyone help me on this?

 

Link to comment
https://forums.phpfreaks.com/topic/278840-session-works-after-first-visit/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.