title: ASP.NET Page Life Cycle Issues
body: <p>Apparently I am not familiar with the Life Cycle of a page in ASP.NET. This became apparent when I wanted to dispose of a Session variable after I left the page. I did what made the most sense:</p>
  
  <pre><code>    protected void Page_Unload(object sender, EventArgs e)
      {
          Session.Remove("ServiceSearch");
      }
  </code></pre>
  
  <p>What I didn't know is that this would be called when I go from AND to the page. What I am wanting to do is dispose of that Session variable whenever the user leaves the page. How do I do this?</p>