|
|
 |
Re: FN-FORUM:
date posted 30th May 2006 13:29
I think it is something like that aswell which was why I put in a settimeout
to stall it. I was surprised when that didn't work.
Pam
----- Original Message -----
From: [EMAIL REMOVED] [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Tuesday, May 30, 2006 2:11 PM
Subject: RE: FN-FORUM:
>
>> Calling it from OnBeforeUnload works for IE but
>> that doesn't exist for FireFox unfortunately and
>> calling it from onUnload calls the javascript ok
>> but the HTTP request doesn't do anything. I am
>> going to try a few other things tonight to see if
>> they work.
>
> I think that the FireFox call via JavaScript onUnload isn't working
> because,
> in Firefox, the HTTP session has ended when the HTTP request gets called
> from the XML request. In IE, the OnBeforeUnload keeps the HTTP session
> open
> to allow the XML request to complete before closing the pipe.
>
> Maybe you need to write your own OnBeforeUnload version of this so that,
> for
> example, onUnload causes a pop-up to open, complete the XML HTTP request
> from the pop-up, and then auto-closes the pop-up on completion.
>
> HTH
>
> Edward
>
>
>
> --
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> |
 |
|