LogoutAction Enumeration
.NET Framework (current version)
Indicates the page that the user will be directed to when he or she logs out of the Web site.
Assembly: System.Web (in System.Web.dll)
| Member name | Description | |
|---|---|---|
| Redirect | Redirects the user to a specified URL. | |
| RedirectToLoginPage | Redirects the user to the login page defined in the site's configuration files (Machine.config and Web.config). | |
| Refresh | Reloads the current page with the user logged out. |
The LogoutAction enumeration members indicate the action taken when the user logs out of the Web site using the LoginStatus control.
The following code example shows how to set the LoginStatus::LogoutAction property using the LogoutAction enumeration.
.NET Framework
Available since 2.0
Available since 2.0
Show: