|
|
 |
RE: FN-FORUM:
date posted 30th May 2006 13:09
> 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
|
 |
|