in reply to Re: CGI and Redirect/URI/Location
in thread CGI and Redirect/URI/Location
This works in IE but not Netscape?$c = new CGI::Cookie(-name => 'login', -value => $login2, -expires => '+3M', ); $d = new CGI; print $d->redirect(-cookie=>$c, -location=>"$URL");
I didn't think that the domain should make a difference for IE but it did. So I tried adding -nph=>1 to both $c and $d seperately. When I added it to $c it did not do anything. When I added it to $d it gave an Internal Service Error.$c = new CGI::Cookie(-name => 'login', -value => $login2, -expires => '+3M', -domain => '.mydomain.com' ); $d = new CGI; print $d->redirect(-cookie=>$c, -location=>"$URL");
Are there any comments or suggestions that I might be missing on my code here? I would like for it to work in both IE and Netscape obviously.
Also anyone know why netscape takes about 5 seconds to process and IE doesn't take any time?
LeGo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: CGI and Redirect/URI/Location
by Hero Zzyzzx (Curate) on Jun 19, 2001 at 04:14 UTC |