I just tried the following registry script with NS4.7 and IE5 (both win) and
it worked just fine...
#!/usr/bin/perl
use strict;
my $r = shift;
$r->err_headers_out->add('Set-cookie' => 'cookie1=value1;
domain=.laserlink.net');
$r->err_headers_out->add('Set-cookie' => 'cookie2=value2;
domain=.laserlink.net');
$r->err_headers_out->add('Set-cookie' => 'cookie2=value3;
domain=.laserlink.net');
die;
I even added a path and expires tag and it still was ok. I did notice,
however, that IE garbles the date somewhat and after repeated promptings
will cease to prompt me again. chalk it up to the standard MS woes, I
guess...
HTH
--Geoff
mod_perl 1.24_dev
apache 1.3.12
> -----Original Message-----
> From: John Armstrong [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 23, 2000 6:36 AM
> To: [EMAIL PROTECTED]
> Subject: Totally annoyed at IE ( Cookie oddity )
>
>
> Trying to get IE to take a cookie in either an error header or a
> standard header has just been driving me insane tonight. After every
> possible iteration I ended up with the following and a redirect. Note
> that $r->header_out() worked without a redirect as well.
>
> $r->err_header_out('Set-cookie' => "AF_SID=".$session{ _session_id
> }."; path=/; expires=Tue, Jun 23 2021 10:26:12 GMT; domain=.spa.com"
> );
>
>
> The following did _not_ work for IE but did work for every other
> browser I tested ( NS 4.5/5 on Win/Linux/Mac ).
>
> $r->err_headers_out->add('Set-cookie' => "AF_SID=".$session{
> _session_id }."; path=/; expires=Tue, Jun 23 2020 10:26:12 GMT;
> domain=.spa.com" );
> $r->err_headers_out->{ 'Set-cookie' } = "AF_SID=".$session{
> _session_id }."; path=/; expires=Tue, Jun 23 2020 10:26:12 GMT;
> domain=.spa.com;" ;
>
>
> So the question is, why does IE accept a single header but not
> multiple headers? I did not see this anywhere in the mailing list of
> the Eagle book and have never really come across this issue before.
>
> Just looking for a reason so that I am not treating this like
> some mystery.
>
> John-
>