- Code: Select all
security.logout();
application.closeSolution(application.getSolutionName());
This avoids the "Select solution" dialog that appears after logout() without further actions.
How to do this in the web client? We tried and found that this works:
- Code: Select all
var vUrl = 'http://yourServer/servoy-webclient/ss/s/' + application.getSolutionName();
application.showURL(vUrl);
security.logout();
You end up in the login form. We thought that was pretty cool!