Sessions use either cookies or the URL (via the $_GET global) to get the session ID. To use the session ID in the URL, you need to change your PHP INI file. Note, however, that this can lead to session hijaking, which is where other people can use the same URL so as to fool the server into thinking the user is someone their not. But, if you take some extra steps (no ideas come to mind right now
), you can make it work. Here is the PHP INI code you need to change:
Code:
session.use_cookies = 0
And for your session start
Code:
session_id($_GET['PHPSESSID']);
session_start();
I think that's how you do it, but I've never tried.
Bookmarks