on 01-28-2008 3:12 AM
Hi,
How i make my web dynpro application auto logout after time out?
I able to make my application time out but it not logout.
Can anyone give me a guide?
thank you!
Hi
You can get the value of the ExpirationTime parameter using the following line of code
wdComponentAPI.getApplication().getApplicationInfo().findInApplicationProperties("sap.expiration").getValue();
Now once the expiration time crosses the value use WDClientUser.forceLogoffClientUser() to log off
Best Regards
Chaitanya.A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Question to Chaitanya : once the application has expired how will he execute the forceLogoffClientUser API?
May be you can try this:
you can have a TimedTrigger UI element on each view. Set the period to some seconds less than the "sap.expirationtime" property of the application. So the steps would be:
1. Set the "ExpirationTime" property of the application.
2. The method that will be invoked by the TimedTrigger (onAction property) does the following:
WDClientUser.forceLogOffClientUser();
Regards,
Satyajit.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.