Pathologically Eclectic Rubbish Lister | |
PerlMonks |
(crazyinsomniac) Re: Detect Stop Buttonby crazyinsomniac (Prior) |
on Nov 26, 2001 at 17:36 UTC ( [id://127535]=note: print w/replies, xml ) | Need Help?? |
sure it's possible in some situations.
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.
In Section
Seekers of Perl Wisdom
|
|