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.

In reply to Re^4: GUI with HTTP::Daemon by The Mad Hatter
in thread GUI with HTTP::Daemon by Juerd

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":