To my knowledge, the newer releases of php (4.2 on I think), make use of a variable called $_SESSION[], which you can now use to get and set varialbes in the session as a hash (or associative) array.
I.e, if you want a session variable named $foo..
session_start();
$foo = "bar";
$_SESSION['foo'] = $foo;
And now you can pull out $foo at any time during the same session, on any page. Like:
$foo = $_SESSION['foo'];
...
However, to be honest, I'm not sure if you can post from an outside URL straight to the session.. The way you want to pass the variable is the same way that the 'get' method does, and I believe you can access those variables using another new array called $GET[] in the same manner that you can use $SESSION[].
I hope that helps,
K.