The correct code is:
print $q->redirect( -uri => 'http://localhost/', -cookie => [ $set_session, $set_username ], );
In reply to Re^3: CGI error: "Invalid header value contains a newline not followed by whitespace"
by tobyink
in thread CGI error: "Invalid header value contains a newline not followed by whitespace"
by MyMonkName
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |