onLogout
Arguments
- ePointer
A dot variable that contains information about the Tabbed UI component. e has the following properties:
- logoutSucceededLogical
Either .t. or .f. depending on whether the user was successfully logged out or not.
- tmplPointer
The component definition for the Tabbed UI.
- rtcPointer
Runtime calculations.
Description
Fires when the user clicks the 'Logout' hyperlink to log out of the application.
Discussion
The onLogout server-side event fires when the user tries to logout. This event can be used to clear session variables or record the logout action as desired.
Redirecting to Another Page After Logout
When a user logs out, they can be redirect to another URL by setting the e.rtc.redirectURL property.
For example:
e.rtc.redirectURL = "home.a5w"
This code will redirect the user to the home.a5w page.
e.rtc.redirectURL is only supported in a Tabbed UI with integrated login enabled.