title: MVC: logged in, but no session vars?
body: <p>I use chrome as debugging browser.</p>
  
  <p>When I start my MVC (Razor) website, click the stop button and the website keeps running in chrome ,while I can make changes in VS ... perfect.</p>
  
  <p>But sometimes (due to I don't know what changes), when I refresh a page, I'm still logged in, but I looses all my session vars.</p>
  
  <p>How can I catch if session vars is cleared, so I can take my users back to login page? (I need a kinde global.asax <code>page_request</code> method.</p>
  
  <p>I do have the .. <code>&lt;forms loginUrl="~/Account/LogOn" timeout="2880" /&gt;</code> ... but Im not logged out - only session vars are cleared.</p>