Session tracking with google popup blocker
we have run into a problem, which I was hoping can get some suggestions here.
we're tracking users on an educational website (LAN based), the users can watch training videos there and if the users have watched greater than 90% of the content, he is awarded with credit for viewing that video..
now the thing is, that we were using popups to track when the user has finished watching the video and closes the browser.
<body onUnload="function1()">
this approach works fine if the user does not have any popup blocker installed. but in case if he has it and enabled the popup blocker we cannot post the time to server of when he closed the video.
we are using the google toolbar popup blocker for IE for testing this scenario
I tried using ajax based calls to the server but it seems the google popup blocker dows not let the onUnload event fire
we have also tried the window.onUnload event... this also does not work when the popup blocker is enabled...
Any suggestions or workarounds this ? ...
we also have another way of tracking the user which involves updating the time of playback constantly in the cookie, when the user logs on next time we simply read the values from there... but i wanted to try with the onUnload events first
|