title: Accessing a master page from httphandler
body: <p>I am developing a small application in asp.net (writing in c#).
  In my application I am using jquery to perform asynchronous call to the server.
  I have an http handler that listens in to the requests and does what it needs to do.</p>
  
  <p>Problems start when in the handler I need to access information stored in the page , from where the asynchronous call started. When I try this:</p>
  
  <pre><code> Page page = HttpContext.Current.Handler as Page;
  </code></pre>
  
  <p>I don't get a page.</p>
  
  <p>How else can I access the page itself?</p>
  
  <p>Thank you</p>