Re: Intermittent CGI Errors
| From: | Joshua Groboski | Date: | Fri, 14 Mar 2003 15:38:14 +0000 |
| Subject: | Re: Intermittent CGI Errors | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-139722@lists.php.net to get a copy of this message | ||
No avail. Here are the last few lines of the script. I can hit it 17 times
in a row with no problems. Then I might hit it three times and get the CGI
Error. I think it may be IIS not PHP that is the root of this problem. We
have C++ app that had the same sort of problem on IIS until we moved to
Apache. Ideally we'd go to Linux or FreeBSD, but I haven't been able to
convice the powers that be.
<?php
...
//Send user back to the list page
$msg = urlencode($msg);
header("Location: dspTestimonials.php?msg=$msg");
?>
"Tom Rogers" <trogers@kwikin.com> wrote in message
news:176153161968.20030314110707@kwikin.com...
> Hi,
>
> Friday, March 14, 2003, 7:03:09 AM, you wrote:
> JG> My app works very well until you start to hit it hard. Then I get
> JG> CGI Error
> JG> The specified CGI application misbehaved by not returning a complete
set of
> JG> HTTP headers. The headers it did return are:
>
> JG> The output of my script is a header() redirect so it must be returning
a
> JG> header right?
>
> JG> Joshua Groboski
>
>
> You may need to add an empty line after the header.
>
> --
> regards,
> Tom
>