OnUnload event fire on ActiveXControl reload

Discussion in 'HTML & Website Design' started by vish2406, Dec 14, 2007.

  1. #1
    Hi, I have a web application that loads an ActiveX control. By default it is
    blocked by the browser. When the user explicitly allows the page, the html
    unloads and then reloads again.
    So basically the onunloadevent is fired even when the page is being
    refreshed to load the ActiveX control. And it would indeed be fired when the
    user closes the page.

    Can I through any means distinguish between these two unloads?

    Thanks for any help.
     
    vish2406, Dec 14, 2007 IP