LoginStatus::LogoutPageUrl Property
.NET Framework (current version)
Gets or sets the URL of the logout page.
Assembly: System.Web (in System.Web.dll)
When the LogoutAction property is set to Redirect, the user is redirected to the URL contained in LogoutPageUrl.
If LogoutAction is set to any other value, the contents of the LogoutPageUrl property are ignored.
This property cannot be set by themes or style sheet themes. For more information, see ThemeableAttribute and ASP.NET Themes and Skins.
The following code example sets the LogoutPageUrl property to a logout page and the LogoutAction property to Redirect so that the user is redirected when logging out.
.NET Framework
Available since 2.0
Available since 2.0
Show: