The user can, at any time, navigate away from the solution, by opening a bookmark, typing a new URL etc.
How can i make sure of databaseManager.releaseAllLocks() is performed.
jcompagner wrote:by doing that in the onsolution close
that will be called when the session times out.
jcompagner wrote:you did close the browser?
jcompagner wrote:But i guess for normal use and in the default setting of servoy.webclient.datanotify.frequency (5 seconds) you could say i set the timout on 5x that 5 seconds so 25 seconds..
then a user will timeout in half a minute if it doesnt communicate with the server.
jcompagner wrote:Your normal website, is that a servoy solution or just some other stuff like html?
jcompagner wrote:by doing that in the onsolution close
that will be called when the session times out.
there is not really another way to do it correctly over all the browsers. There is no standard function that works on all browsers that is executed when the browser window/tab is closed or a different website is loaded.
Users browsing this forum: No registered users and 9 guests