Forum Moderators: open
I'm asked by a client to develop a script that determines when a user actually browses away from a page. He wants to determine how long exactly someone is watching his webcam sites.
Problem is, of course, that his webcam pages are on another server, and they cannot be modified.
So, from my server I wanted to open a page with a frameset, in which the remote page is loaded. I thought I could use the onUnload event in some way to call another page which updates the necessary information, but I haven't managed to do that just yet.
Also, I want to avoid using a popup for the reasons that they're irritating, and many people have them blocked.
If anyone has any ideas, I'd love to hear them!
Peter
a) use some kind of real-time application such as Java or ActiveX that constantly reports back to the web server; or
b) use the onUnload (or similar) event to record (eg. via a pop-up) when the page is closed, but realise that this won't work in all browsers.