Hey I heard that when you change the domain AT ALL meaning that going from http to https the session will be lost unless you pass the session id. I tried passing the session ID as PHPSESSID and it does go to the next page but when I do this:
$PHPSESSID= $SID
$sesid = session_id();
echo "$sesid";
I get a new session id even tho I know SID is defined from variable in the URL. Any help?