Hello Ania, This might be a browser related behavior - if the window is closed, all activities related with it are cancelled. It might be best if you tried an alternative aproach: instead of having the browser explicitly signing the user out of your application (which is what you are trying to implement by handling onWindowClosing), you might want to implement a keep alive mechanism. The browser would notify the server every X seconds, which counts as a logged in user. If the last notification is older than Y > X seconds, your server may assume that the user logged out or just closed the window.
On Apr 5, 1:40 am, Ania <[email protected]> wrote: > Hi, > I'm using RPC within onWindowClosing().It is supposed to delete certain data > from database based on passed username but nothing happens.Is there any > alternative way to modify database without using rpc on tab or browser > closing? > Thank you for any help! > Ania -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
