LoginStatus::LoggedOut Event
Raised after the user clicks the logout link and the logout process is complete.
Assembly: System.Web (in System.Web.dll)
The LoggedOut event is raised on the server after the user clicks the logout link and the logout process is complete.
When the user clicks the logout link, the LoggingOut event is raised, then the logout process is run, and finally the LoggedOut event is raised.
Use the LoggedOut event to provide additional processing such as cleaning up database connections or removing per-user cached data after the user logs out of a Web site. The user's identity is still available while the LoggedOut event is executing. If your handler for the LoggedOut event redirects the client browser to another page, the authentication cookie will be cleared from the client.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.