RE: Detecting browser close

2004-06-22 Thread Guillermo Meyer
nes, 21 de Junio de 2004 01:03 p.m. To: [EMAIL PROTECTED] Subject: RE: Detecting browser close It was my understanding that only signed scripts could open popups off-screen, or of too small a size (I think 100px in either direction). I use the approach you outline as well, although it's not

Re: Detecting browser close(ksitron [mailto:ksitron@elp.rr.com])

2004-06-21 Thread smuthu . subramaniam
Hi If u r working with Internet Explorer then try this code window.onunload=onClose; function onClose() { var retVal; if(window.screenTop>1) { alert("Closing the window"); } } by clicking the close button on the top right corner, rightclicking and selecting

RE: Detecting browser close

2004-06-21 Thread Frank Zammetti
t the off-screen popup to work without a signed script (assuming you didn't have one?). From: "Joe Hertz" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>

RE: Detecting browser close

2004-06-21 Thread Joe Hertz
This is fine if you want to provide a popup window to the user. This still isn't an authoritative way of determining if the user has "logged out". Your app should never depend on the client's PC having electricity. > -Original Message- > From: Simone - Dev [mailto:[EMAIL PROTECTED] > Sen

Re: Detecting browser close

2004-06-20 Thread Pedro Salgado
On 04/06/20 3:49, "mike" <[EMAIL PROTECTED]> wrote: > There are ways, if you are so adamant about this that you want to use a lot > of resources. Are you? > > At 04:53 PM 6/19/2004, Bill Siggelkow wrote: >> AFAIK this cannot be done -- your best bet is to provide a Logoff link and >> a reasonabl

RE: Detecting browser close

2004-06-19 Thread Joe Hertz
- > From: ksitron [mailto:[EMAIL PROTECTED] > Sent: Saturday, June 19, 2004 9:06 PM > To: Struts Users Mailing List > Subject: Re: Detecting browser close > > > > Thanks for the reply. But, I find it hard to accept that it > can't be done. And, users may no

Re: Detecting browser close

2004-06-19 Thread mike
There are ways, if you are so adamant about this that you want to use a lot of resources. Are you? At 04:53 PM 6/19/2004, Bill Siggelkow wrote: AFAIK this cannot be done -- your best bet is to provide a Logoff link and a reasonable session timeout. ksitron wrote: Is there a way to detect when

Re: Detecting browser close

2004-06-19 Thread ksitron
Thanks for the reply. But, I find it hard to accept that it can't be done. And, users may not be computer savy or follow good etiquette and log off. Bill Siggelkow wrote: AFAIK this cannot be done -- your best bet is to provide a Logoff link and a reasonable session timeout. ksitron wrote: Is th

Re: Detecting browser close

2004-06-19 Thread Bill Siggelkow
AFAIK this cannot be done -- your best bet is to provide a Logoff link and a reasonable session timeout. ksitron wrote: Is there a way to detect when the user closes the browser. What I want to do is do clean-up and destroy the session. Thanks in advance.