Is it possible to call the sessionid within the same script that sets a session, e.g.
session_start();
$SESSION['A'] = "test";
echo $SESSION['A']
echo $_GET["PHPSESSID"];
The setting of the session variable and the displaying of the session id are in separate functions (if this makes a difference?)
For some reason I can't access the session id after I set a session value. phpinfo() doesn't display the fact that it has set.
Anyone?
Cheers
dC