$_session variable
<p>I want to store some information like user_name, country_name etc and need to be available through out the session. </p>

<ol>
<li>what will be the best way to achieve this?</li>
<li>I have the following code to <code>$_session</code> variable but have no result.</li>
</ol>

<p><strong>page1.php</strong></p>

<pre><code> session_start;
 $_SESSION['country_no']=1;
</code></pre>

<p><strong>page2.php</strong></p>

<pre><code>session_start;
echo "here is session variable=".$_SESSION['country_no'];
exit;
</code></pre>
