- Code: Select all
function logout()
{
var serverUrl = '/servoy-webclient/templates/default/expired.html'
application.showURL(serverUrl)
application.exit()
}
the user can really logout his session, and will be directed the expired.html page. On that page, we have login, button so he can login back again.
So the customer has total control, over how many licenses he uses, so far so good.
In Servoy 5 webclient, this function is working differently!
after pressing this logout button, the browserpage where you see the solution, gives a message in red: Error calling server, and the expired.html is force to upen in a popup! (with all the warning issue about popups, that comes with firefox, safari, chrome, etc..)
Anyone know how to solve this?