in reply to GUI with HTTP::Daemon
And finally, a small quest for Perl wisdom: what's a portable way to find out if the user has left the "site" or closed the browser window? So far, I've told users of these little applications to hit ^C when done, but that's not pretty.
Idle musings... Doesn't pretty much every browser now support Connection: Keep-Alive? Is there a way to consistently induce this behavior and, if so, couldn't you then just watch for the socket closing in the HTTP::Daemon server and assume that means the window was closed?
bbfu
Black flowers blossom
Fearless on my breath
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: GUI with HTTP::Daemon
by Juerd (Abbot) on Dec 19, 2004 at 21:14 UTC | |
by bbfu (Curate) on Dec 20, 2004 at 00:18 UTC | |
by The Mad Hatter (Priest) on Mar 25, 2005 at 23:52 UTC |