Re: BROWSER CLOSE

2007-01-23 Thread Mikolaj Rydzewski
Kranti wrote: I am working on a struts based application. I need to meet a special requirement that is when user clicks the X button on the browser the browser should not close immediately rather we should show a confirm box. if user says yes in the confirm box then only browser should close.

Re: BROWSER CLOSE

2007-01-23 Thread Kranti
ndow.onunload or windows.unload or sth like that. -Original Message- From: Kranti [mailto:[EMAIL PROTECTED] Sent: dinsdag 23 januari 2007 9:04 To: user@struts.apache.org Subject: BROWSER CLOSE Hi Guys, I am working on a struts based application. I need to meet a special requirement that is

RE: BROWSER CLOSE

2007-01-23 Thread bjorn.de.bakker
Use window.onunload or windows.unload or sth like that. -Original Message- From: Kranti [mailto:[EMAIL PROTECTED] Sent: dinsdag 23 januari 2007 9:04 To: user@struts.apache.org Subject: BROWSER CLOSE Hi Guys, I am working on a struts based application. I need to meet a special

BROWSER CLOSE

2007-01-23 Thread Kranti
Hi Guys, I am working on a struts based application. I need to meet a special requirement that is when user clicks the X button on the browser the browser should not close immediately rather we should show a confirm box. if user says yes in the confirm box then only browser should close. i am tr

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

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
v [mailto:[EMAIL PROTECTED] > Sent: Sunday, June 20, 2004 6:48 AM > To: 'Struts Users Mailing List'; [EMAIL PROTECTED] > Subject: R: Detecting browser close > > > What I'm proposing to you it's a solution that works only on > JS enabled browsers, but since this

R: Detecting browser close

2004-06-20 Thread Simone - Dev
> Da: ksitron [mailto:[EMAIL PROTECTED] > Inviato: sabato 19 giugno 2004 23.32 > A: Struts Users Mailing List > Oggetto: Detecting browser close > > > > Is there a way to detect when the user closes the browser. > What I want to do

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
being able to successfully detect a browser close isn't enough to solve this problem. Here's what I mean: The browser could stay OPEN. The user could be at lunch, or gone home for the night or weekend. Hours later, are you going to be letting the cleaning crew loose inside of your app? Wha

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.

Detecting browser close

2004-06-19 Thread ksitron
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. -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC