Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners Cgi > Re: CGI termina...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 1432 of 1496
Post > Topic >>

Re: CGI termination.

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
 




 2 Posts in Topic:
CGI termination.
downloadondemand@[EMAIL P  2007-12-06 17:58:12 
Re: CGI termination.
noreply@[EMAIL PROTECTED]  2007-12-07 10:00:55 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 10:47:57 CST 2008.