title: aspnet session lost every postback, just in firefox
body: <p>So long story short, in Chrome or IE I can hit refresh on my web app to my hearts content and the session remains. In Firefox I lose my session every postback (the Session_End method is called in Global.asax).</p>
  
  <p>Any suggestions? This obviously sounds like a browser configuration issue...but I can't see anything that would cause this behavior.</p>
  
  <p>Update:</p>
  
  <p>So it turns out it was my code which handles the browser being closed. For some reason in Firefox the window.onunload event is getting fired every post back (which called a method which ended the session). Now I have to figure out why Firefox is behaving like that. Everyday I like firefox less!</p>
  
  <p>Update 2:
  Turns out using onunload is behaving as documented in firefox, but Chrome is just smarter with it or something, still investigating, but i'll mark this question as answered.</p>