I've got a site I'm working on using session variables. My hosting is shared, and at one point must cross into a secure server, so the address will change from say to When this happens, I lose my session variables. I tried putting this into my link that jumps from domain.com:
header ("Location: . $PHPSESSID);
and it does carry the session ID in the URL, but it's not restoring my session variables. Sorry if this is a basic question. I searched around and couldn't find an answer that I could understand.
Thanks so much,
Sam
header ("Location: . $PHPSESSID);
and it does carry the session ID in the URL, but it's not restoring my session variables. Sorry if this is a basic question. I searched around and couldn't find an answer that I could understand.
Thanks so much,
Sam