|
 |
asp_web_howto thread: Re: trapping event
Message #1 by "Dennis Gaudenzi" <webmaster@L...> on Mon, 11 Feb 2002 20:54:56
|
|
> Hi,
>
> I need to trap the closing of a window and need to process some server
> side script when this "close window" event fires.
> I tried cancelling this event and submitting to another page
> which does the server side processing. But i am not able to cancel this
> event at all.
> I tried trapping it at both "onunload" and "onbeforeunload".
> Can any of you suggest how i tackle this?
>
> regards
> Hema
Message #2 by Oleg Kapeljushnik <c-oleg.kapeljushnik@w...> on Mon, 11 Feb 2002 16:01:19 -0500
|
|
You can do something like this.
When somebody closing window I open another one and execute
server side script.
Oleg
-----Original Message-----
From: Dennis Gaudenzi [mailto:webmaster@L...]
Sent: February 11, 2002 8:55 PM
To: ASP Web HowTo
Subject: [asp_web_howto] Re: trapping event
> Hi,
>
> I need to trap the closing of a window and need to process some server
> side script when this "close window" event fires.
> I tried cancelling this event and submitting to another page
> which does the server side processing. But i am not able to cancel this
> event at all.
> I tried trapping it at both "onunload" and "onbeforeunload".
> Can any of you suggest how i tackle this?
>
> regards
> Hema
$subst('Email.Unsub').
|
|
 |