I'm guessing that you want to detect this without deploying script or installing something on the client side, but you can detect when the browser session has ended by writing code for Session_End() which is invoked when the ASP.NET runtime detects a session timeout, usually after 20 minutes of inactivity. You probably don't want to change this timeout to anything less, since that could cause undesirable side effects.
Dig Deeper on Topics Archive
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.