I tried to use window.onunload but that event "jump" always change the page because i used a master page. If write the javascript into the master page ever the user ask for other page the window.onunload "jump" but if i write the onunload method into all the pages is the same. I don´t really know how to do that..... :(
On Sat, Mar 20, 2010 at 11:25 PM, alandgri <[email protected]> wrote: > I will point out that there is practically no way to be notified, with > absolute certainty, right when the user has closed the window. The > user could be using NoScript or a proxy or any number of other ways to > disable/modify the behavior of your script. > > > > On Mar 19, 10:04 pm, ThanderMaX <[email protected]> wrote: > > window.onunload in javascript > > > > On Mar 18, 10:57 pm, Carlos Arias <[email protected]> > > wrote: > > > > > Hi, > > > I try to know when the user close my web app, because the global.asax > don´t > > > detect when the user click the close button of the browser. > > > Someone know how to??? > > > thanks. > > > > > -- > > > Carlos Andrés Arias Blanco > > To unsubscribe from this group, send email to dotnetdevelopment+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- Carlos Andrés Arias Blanco To unsubscribe from this group, send email to dotnetdevelopment+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
