This might be what you're looking for: http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/Window.ClosingEvent.html
I doubt this will fire if the machine powers off due to a power failure. -- Arthur Kalmenson On Tue, Jun 16, 2009 at 8:07 AM, Taufeeq<[email protected]> wrote: > > How to capture shutdown event of system in javascript? Our requirement > is like, if system shoutdown normally or due to power failure we need > to send session closing request to server. > Reply With Quote > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
