[EMAIL PROTECTED] wrote:
When using CGI, how to tell the perl script to drop the connection
with client browser? I want to disconnect so the browser won't show
"loading state", but script must continue to run on server.

    print "Status: 204 No Content\n\n";

or, assuming you are using CGI.pm,

    print header(-status => '204 No Content');

HTH

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to