http://www.perlmonks.org?node_id=442431


in reply to Re^3: GUI with HTTP::Daemon
in thread GUI with HTTP::Daemon

With the growing ubiquity of the XMLHttpRequest object in browsers now, you could have the app ping the server with requests every so often and have the server watch for this heartbeat to die.