problem in creating php sessions from get variables
<p>i have following in my url
<a href="http://www.foo.com/?token=foo&amp;tokenid=fooid" rel="nofollow">http://www.foo.com/?token=foo&amp;tokenid=fooid</a>
now i want to get those token and tokenid value and create sessions from both values...
i have following in my php code</p>

<pre><code>$em = $_GET['token'];
$emid = $_GET['tokenid'];
$_SESSION['foo'] = $em;
$_SESSION['fooid'] = $emid;
</code></pre>

<p>but it is not creating sessions ... how can i solve that</p>
