search for 'cron php' in google for help with autorunning sites.
what you're asking is, once someone leaves your web site, how will you be able to keep track of them? there are a few ways, none of them very good: make a tiny frame so they are really still partially on your site... it will fail the moment they go to a site that breaks itself out of frames, however. or just download a little app to their computer that watches them. (bad, bad idea!)
really, there's no way.
best
eric