How to: |
Typically a logon page appears in a separate window. After successful logon, a user is redirected to a new window that displays the content the user is authorized to view.
There are several ways to achieve this logon sequence. In this topic you will use application states.
<mx:Script> <![CDATA[ public function onPass():void { domains.refreshDomains(); currentState='Domains' } ]]> </mx:Script>
A signoff button enables you to log off Managed Reporting.
public function signoff():void { mre.mreSession.getMREsignoff(); currentState='Signon'; }
The code mre.mreSession.getMREsignoff() executes the log off.
The code currentState='Signon' redirects you to the Signon state of the application.
<mx:Button x="426" y="94" label="Sign Off" width="108" click="{signoff()}" id="button3"/>
You are redirected to the logon window.
WebFOCUS |