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.
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
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
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
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
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
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
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]>
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
> 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
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
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
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
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
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.
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
16 matches
Mail list logo