I have set up a shoppig cart to y site which uses a session veriable to pass the cart contents.
This is all working fine except when I force the use of a ssl connection
The shopping is done then I want to take gredit card details using https which is a different url
Code: Select all
//
if($_SERVER['HTTPS'] != 'on')
{
// If not, redirect
// chane from http://www.mysite.com to
$newurl = 'https://secure.bluehost.com/~mysite'.$_SERVER['REQUEST_URI'];
header("location: $newurl");
}
I have had a look in the config file and include file. IS the problem because it can't find the location of the session??
Any help greatly appreciated.....
Need to try and pass the session along the way but a bit of a newb

Mike
Mike