in reply to Detect Stop Button
If you have a script, to which a user is posting a form, and the content-size (or whatever) header says the user is posting 10k, but only 5k gets transmitted, chances are the user hit the stop button.
That is the only way I see you detecting the user pressing a stop button.
If you're using CGI.pm, you'll probably want to slap the code to check for this in a BEGIN block, and read off STDIN yourself.
You probably want to describe better what your script is doing, as there might be other (fork fork) strategies you'd be better suited taking when approaching your particular problem.
___crazyinsomniac_______________________________________
Disclaimer: Don't blame. It came from inside the void
perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: (crazyinsomniac) Re: Detect Stop Button
by hakkr (Chaplain) on Nov 26, 2001 at 19:58 UTC | |
by dmmiller2k (Chaplain) on Nov 26, 2001 at 20:41 UTC | |
by legLess (Hermit) on Nov 27, 2001 at 01:26 UTC | |
by joealba (Hermit) on Nov 27, 2001 at 19:14 UTC | |
by kwoff (Friar) on Nov 28, 2001 at 05:16 UTC | |
by joealba (Hermit) on Nov 28, 2001 at 09:30 UTC |