I have a client with IIS 4.0 (I have NO control over this), and the following snippet. This code works dandy on Apache, but the cookie refuses to be set on this version of IIS, (I know this because the redirect is to another Perl script which immediately tries to read the cookie and it is not there). I have multiple clients on this code base, so I am not looking for a forget cookies and do it differently solution. I am just trying to get it to work as advertised.
I am using -nph, hoping that it would help, it hasn't. g_Whitemy $input = CGI->new(); ### bunch of other stuff ### if ($status eq APPROVED) { my $tnum = $user->db_number; my $cookie=$input->cookie(-name=>'hs_ident', -value=>"$tnum"); print "login - $status\n$tnum\n$member\n" if $Debug; print $input->redirect( -location=>"$member" , -cookie=>$cookie, - +nph=>1); }
In reply to Cookies, Redirect & IIS by gwhite
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |