in reply to Re^2: CGI error: "Invalid header value contains a newline not followed by whitespace"
in thread CGI error: "Invalid header value contains a newline not followed by whitespace"
You only print headers once, either use redirect, or use header, not both
print $q->header( -status => '302 Found', -uri => 'http://localhost/', -cookie => [ $set_session $set_username ], ); __END__
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: CGI error: "Invalid header value contains a newline not followed by whitespace"
by MyMonkName (Acolyte) on Feb 04, 2012 at 21:06 UTC | |
by Anonymous Monk on Feb 05, 2012 at 06:23 UTC |