C# Static members problem
<p>For example, I Have the following static class:</p>

<pre><code>public static class f
{
    public static bool IS_GUEST = (HttpContext.Current.Session["uid"] == null);
    public static bool IS_ADMIN = (HttpContext.Current.Session["admin"] != null);
    //...
</code></pre>

<p>Now If i check whether the user is Guest or not using IS_GUEST i always get true even if the user is not a guest (session "uid" does exist). And for IS_ADMIN i get always false, no matter what. The sessions are created before i call IS_GUEST and IS_ADMIN, and if I check it manually (<code>HttpContext.Currest.Session[something]</code>) it works fine.
So what's the problem here?</p>
