Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Perl (http://www.go4expert.com/forums/perl/)
-   -   CGI Error - CGI application misbehaved by not returning a complete set of HTTP Header (http://www.go4expert.com/forums/cgi-error-cgi-application-misbehaved-t7315/)

HMM 16Nov2007 00:18

CGI Error - CGI application misbehaved by not returning a complete set of HTTP Header
 
Guys, I am getting following error,

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.

Here is a program,
Code:

use CGI qw/:all/;
use MIME::Base64;

$web = new CGI;
$FirstScreenIn = 1;
require "d:/inetpub/APP/cgi/cookie/GetCookie.pl";
&GetCookie;

if ($UsernameIn eq "") {
  print $web->header();
  print "REDIREDCT*****".$UsernameIn;

} else {
...
}

GetCookie.pl
Code:

sub GetCookie {
#!perl -w
use CGI qw/:standard/;
use CGI::Cookie;
use MIME::Base64;
%Cookies = fetch CGI::Cookie;
...
use SOAP::Lite;

I use activePerl and is hosted by IIS 5.0

Can anyone give my direction to look for the issue? TIA

pradeep 16Nov2007 10:14

Re: CGI Error - CGI application misbehaved by not returning a complete set of HTTP Header
 
The required file GetCookie.pl should return a true value!


All times are GMT +5.5. The time now is 19:55.