R
Roy Wang
Hi everyone,
I want to assign a url to the img.src attribute using javascript so
that browser will send a request according to the url, which is all i
want.
The tricky stuff is i want to do it in Page OnUnload event handler
which is called just before the browser is starting to unload the
document(ESPECIALLY when the user choose to close the browser window
to fire the event).
I use IIS6, IE6,Netscape 7.2, and Mozilla 1.7.3 to do the test.
By checking out IISlog, I find out they all properly logged the
ununload event by assigning to img.src, even when the browser is
directly closed.
So I want to make sure this approach is OK in the three browser i
used.
I think it's risky theoreticly.
Could anyone help me on this? OR tell me where I can get the insider
information.
Thanks a lot.
Roy
I want to assign a url to the img.src attribute using javascript so
that browser will send a request according to the url, which is all i
want.
The tricky stuff is i want to do it in Page OnUnload event handler
which is called just before the browser is starting to unload the
document(ESPECIALLY when the user choose to close the browser window
to fire the event).
I use IIS6, IE6,Netscape 7.2, and Mozilla 1.7.3 to do the test.
By checking out IISlog, I find out they all properly logged the
ununload event by assigning to img.src, even when the browser is
directly closed.
So I want to make sure this approach is OK in the three browser i
used.
I think it's risky theoreticly.
Could anyone help me on this? OR tell me where I can get the insider
information.
Thanks a lot.
Roy