gwhite has asked for the wisdom of the Perl Monks concerning the following question:
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); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Cookies, Redirect & IIS
by waswas-fng (Curate) on Aug 06, 2003 at 19:56 UTC | |
by gwhite (Friar) on Aug 06, 2003 at 20:05 UTC | |
by waswas-fng (Curate) on Aug 06, 2003 at 20:07 UTC | |
by gwhite (Friar) on Aug 06, 2003 at 20:16 UTC | |
by waswas-fng (Curate) on Aug 06, 2003 at 20:25 UTC | |
|