Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 20th, 2006, 09:48 AM
Registered User
 
Join Date: Dec 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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






Similar Threads
Thread Thread Starter Forum Replies Last Post
Session Tracking Using SQLServer 2000 brojoonline General .NET 1 August 3rd, 2007 04:25 AM
ClientScript. : window.open -> Popup Blocker Issue AbrarNazeer ASP.NET 2.0 Professional 3 September 20th, 2006 09:59 AM
JavaScript : window.open -> Popup Blocker Issue AbrarNazeer Pro JSP 0 September 2nd, 2006 05:49 AM
PopUp blocker In C# VB.net nashnash ASP.NET 1.0 and 1.1 Professional 1 September 29th, 2004 03:53 AM
SESSION tracking natmaster Beginning PHP 1 August 18th, 2003 01:52 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.