title: ASP.NET MVC 3 determine session status (new or timeout)
body: <p>I currently use the default forms authentication method for my ASP.NET MVC application.</p>
  
  <p>above all of my actionmethods that require authentication I have this attribute</p>
  
  <pre><code>[Authorize()]
  </code></pre>
  
  <p>When someone tries to call the page that that action method "serves" and they haven't yet logged in, it sends them to the login page...perfect!  However, if their session times out and they try to hit that page, they're also just redirected to the login page with no indication of why. I'd like to be able to determine if it's a new visit, or if it's a timeout and display a different message on the login screen accordingly.</p>
  
  <p>Is that possible?</p>