HttpContext Cookie
<pre><code>if (HttpContext.Current.Request.Cookies.AllKeys.Contains("myCookie") &amp;&amp;
    !String.IsNullOrEmpty(HttpContext.Current.Request.Cookies["myCookie"].Value))
{
    HttpCookie myCookie = HttpContext.Current.Request.Cookies["myCookie"];
}
</code></pre>

<p>Is there something wrong with this code?  Every once in a while, our production website will get a null reference exception on line 4.   I can't reproduce this in test.</p>
