I've been trying to creat a login script with sessions. I've read the php manual, my sessions are setting and all of that. What I dont get is passing the sessions on via SID. From what I read in the php manual. I can:
echo '<a href="./newpage.php?' . SID . '">Click Hero</a>';
Now that puts an ugly PHPSESID or something like that in the URL. I can get around that with $POST or $GET. So now I am transfering the SID from page to page, but what do I do with it! Using php's method, the session picks up. But say I use the $_GET method. Now I got a superglobal with an SID, how do I use session_start() or session_name() to resume the session? This seems to be my flaw.