Is there a way to detect when a browser window is no longer the active window on the desktop? I have a timer going timing a learning session and need to stop the timer when the window is no longer active. Ideally the timer would start again when the window became active again. Any help would be appreciated.
no because php is server side sorry
Do you have any suggestions on how to accomplish this without using PHP?
no ideas sorry i was plauged by the same problem and just found another way around it..
You can do it with JavaScript, but this is not the right forum to ask about that.
Diego
Use refresh & insert some naughty cody that expires/redirects after xxy seconds & its doing an auto get with file.php?my_action=close_inactive
All browsers accept refresh
You mean the no more active = closed window?
Oups,... I knew there was something that I didn't understand. I f--- ed in http://www.phpbuilder.com/forum/read.php3?num=2&id=187834&thread=187773 Sorry, I just tryed to help. ;-(