C#: access cache variables in .ashx.cs
<p>How can one access cache objects in handler class? </p>

<pre><code>public void ProcessRequest (HttpContext context) {
    //Cache["asd"] = "asd";
    //context.Response["1"]="sfd";
    context.Response.ContentType = "text/plain";
    context.Response.Write("Hello World");
    string ss=(string)context.Cache["aasd"];
    string sss=(string)context.Session["sdf"];
}
</code></pre>
