asp.netasp.net-mvcforms-authenticationformsauthenticationticket

asp.net form authentication ticket slidingExpiration code


I want to be able to detect when the form authentication ticket updates due to the slidingExpiration flag being set to true. I need to call a backend service with the new expiration time. Does anyone know where the code is that re-validates the ticket and updates it with the new expiration time due to the slidingExpiration?

Thanks!


Solution

  • I want to be able to detect when the form authentication ticket updates due to the slidingExpiration flag being set to true

    This happens on any HTTP request that the user sends to your site.