I'd like to trap expired user sessions in the page lifecycle- but before .NET forms authentication redirects to my login page (I have .NET forms authentication enabled in web.config). I'm doing this so that I can open a login modal window when the user presses 'Submit' after their session has expired, instead of letting forms authentication redirect to the standard login page.
Does anyone know how to do this?
...
Go to the complete details ...