PHP 4.0.6
IRIX64
I have gone through all the posts and tried all the solutions, but my problem still persists:
When I go from HTTP to HTTPS via a form, my session ID is being lost.
I have tried adding it to the URL:
$SID = session_id();
echo "<form action=\"https://server.host.com/page.php?SID=$SID\" method=\"post\">";
but it does not stick. I tried to put a catch on "page.php" like this:
if($SID != ""){
session_id($SID);
session_start();
}else{
session_start();
}
but then I get the error:
Warning: open(/tmp/sess_2f8f7124177c2bba6d868fca13533d5f, O_RDWR) failed: m (13) in /page.php on line 6
where line 6 is the 3rd line of the above code.
My session.save_path is set to the standard "/tmp"
My session.cookie_path is set to "/"
My session.use_trans_sid is set to "1"
My session.use_cookies is set to "On"
I am on a shared server, so I cannot change my PHP config. Any help would be greatly appreciated.
Somewhere I am not getting the logic of persistence for SIDs.