Is safe to rely site security on $_SESSION?
<p>I always set several vars on $_SESSION array to control access on my sites, but I would like to know if this is a safe solution or there would be something better than:</p>

<pre><code>($_SESSION['admin'] == 1) ? take_control_of_my_site : get_back;
</code></pre>
