So here's my situation :
Our site runs through the same program for every page. A lot of our site is run with session variables. We now have an instance where someone may come to our site declaring a session ID in the get from another part of our site. So I added this:
if ($_GET["sid"])
{
session_ID($_GET["sid"]);
}
And it works for the first instancel, it grabs that session and for that one running of the program, it keeps those session varibales. But the next time it runs, (this time without the sid being passed in the GET), it's using a different session id. Is there anyway I can make php keep this session id, or put these variables into another session that can be grabbed the next time this runs?