by noreply@[EMAIL PROTECTED]
(Gunnar Hjalmarsson)
Dec 7, 2007 at 10:00 AM
downloadondemand@[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