Well, since this is along the lines of a question i was going to ask. Thought i would just add to it. I know it would be 'simple' to add JS functionality to a php page that would call another script when the timer ran up.
But, what about if the user closes the window or navigates away from the page ? the JS would quit running and thus the call to the second script would never happen.
I guess the best example would be with the new social networking sites there are 'online games' such as "Mobsters" / "Mob Wars" that add a functionality that even though the user is not logged in the timer keeps adding money to an account every hour. How is this accomplished ?
Any reading material ?
Thanks