class_="logout"

Sends a logout command to the server.

Description

A logout command is issued to the server, causing the current user session to be immediately terminated, and the browser window to redirect to the value in redirect_. This action will only take place when the go_ is greater than zero.

Explicit Syntax

<dynamic>
    <widget class_="logout" go_="[GO_VALUE]" redirect_="[URL_VALUE]"/>
</dynamic>

Attributes

go_
Accepts an integer, which when greater than 0 allows the logout command to be sent to the server.
redirect_
Specifies a URL that a user will be redirected to once logout occurs.
visible_
When set to 1, the logout widget will show up as a button in the interface. The default label for this button is Logout
text_
Specifies the text to display on the button, when visible_=1.

Example: Logout Widget Format

When this widget code executes, the user session is immediately logged out and their browser redirects to the new location.

<dynamic>
    <widget class_="logout" go_="1" visible_="1" text_="End Session" 
     redirect_="https://www.google.com"/>
</dynamic>
Logout Widget with option button.