LoginStatus.LogoutAction Property
Assembly: System.Web (in system.web.dll)
[ThemeableAttribute(false)] public: virtual property LogoutAction LogoutAction { LogoutAction get (); void set (LogoutAction value); }
/** @property */ public LogoutAction get_LogoutAction () /** @property */ public void set_LogoutAction (LogoutAction value)
public function get LogoutAction () : LogoutAction public function set LogoutAction (value : LogoutAction)
Property Value
One of the LogoutAction values. The default is Refresh.The LogoutAction property determines which page is presented to the user when he or she logs out using the LoginStatus control.
The following table describes the actions taken for each LogoutAction value.
| LogoutAction value | Action taken |
|---|---|
| Redirects the user to the URL contained in the LogoutPageUrl property. If LogoutPageUrl is empty, the user is redirected to the login page defined in the application configuration settings. | |
| Redirects the user to the login page defined in the application configuration settings. | |
| Refresh | Refreshes the current page. |
This property cannot be set by themes or style sheet themes. For more information, see ThemeableAttribute and ASP.NET Themes and Skins Overview.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.