plugins.maintenance.shutDownClient freeze the client

Hi,

I use this method: plugins.maintenance.shutDownClient to close the clients after some while. The problem is that the WebClient is frozen and only if the page is manually refreshed, the login solution will appear. How can I do to show him the login solution again directly without letting the user to think that the app is frozen, and eventually a message that he was automatically logged out?
The SmartClient is completely close, but I would like to display here also the login screen?

Can I use something else, and not the plugins.maintenance.shutDownClient method?

Thanks,
Bogdan.

the maintenance plugin should NOT be used in smart or webclient!!

it is only build for pre and post import solutions (headless clients!)

look here: http://wiki.servoy.com/display/Serv51/maintenance
(third yellow paragraph)

I’m calling the method from a headless client, using the ID of the web/smart client that has to be closed!

I would like to show to the user the login screen, instead of blocking the interface or kill it! But I don’t know how to do it!

I don’t know if the plugin is build for that…or capable of doing that.

Any other suggestion on how to close the main solution and display the login screen to the user? Not necessarily with that plugin. I was thinking to call a method from the headlessclient to the smart/web client. And to implement the logout/login screen on the client, but to call it from the server. Is that possible?

Ii know, the usermanager plugin of DrMaison, is build for that, and is capable of doing that.

http://servoy-plugins.de/plugins/userma … lugin.html