getting vars from $_SESSION throws an error
<p>while passing <code>$_SESSION['var']</code> to function, if <code>$_SESSION['var']</code> is unset, I'm getting Notice: </p>

<pre><code>Notice: Undefined index: var in scripname.php on line 49
</code></pre>

<p>Is there safer way to obtain <code>$_SESSION['var']</code>, which will give me <code>0</code> if <code>$_SESSION['var']</code> is unset?</p>

<p>Thank you in advance!!</p>
