how to detect logout of asp.net 4 session
<p>How do you detect when a user logs out using the ASP.Net 4 session management?  I have a site that is using the &lt;LoginTemplate> with a &lt;LoginStatus> control.  When the user clicks the "Log out" link, it should fire the LoggingOut event of the LoginStatus, but I cannot get it to do so.  Is there another way to detect when the user logs out of the application?  Session_End isn't being fired because the session itself is still valid, just that the user isn't logged in.</p>
