[Tutor] CGI Question

Danny Yoo dyoo@hkn.eecs.berkeley.edu
Sat, 20 Jul 2002 14:01:50 -0700 (PDT)


> > Can a CGI receive information and not reply?

Hi Andres,

Technically, it could, but then your web browser will report something
like "Error: Document received no data".

A CGI that doesn't send anything back is probably buggy, since CGI's are
expected to interact, either by spitting out a nice web page, or writing
out some error page that explains why it couldn't finish a request.

Is there a particular kind of CGI that you're thinking of, though?  There
may be a legitimate reason not to print anything from a CGI, but without
knowing more, I'd better stop here.  *grin*


Best of wishes to you!