Many thanks! It finally works!
I disabled the servoy.allowSolutionBrowsing and it also jumps directly to the login screen!
for the webclient I do this now
- Code: Select all
application.showURL("http://" + host + "/webclient.html", "_top");
application.exit();
:
and for the SmartClient I do this. it might work also without the first 2 lines, but at least I had to put the solution name in the logout method, otherwise I get and exception and the app hangs: "cannot open solution".
- Code: Select all
elements.tabsMain.removeAllTabs();
application.closeForm();
security.logout("AeroPlus");
Thanks again!