This might be a little off topic.
I recently installed apache 1.3.26 with modperl 1.26. I run a virtual host
seconady website. When I try to retieve or write cookies to a netscape
browser from the virtualhost URL it doesn't work.
cookies work fine on the main server.
cookies work fine on both
Chris,
It is a bit difficult to determine your problem but here are a few
suggestions:
1) Revert to $r-headers_out-set('Set-Cookie',
cookie(-name='cookie_name', -value='value_here')); If this works, check
for a difference in the module you are using.
2) You may have inconstant privacy
- Original Message -
From: Charles [EMAIL PROTECTED]
To: Chris Pizzo [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, July 12, 2002 1:51 PM
Subject: RE: Weird problem with cookies on Netscape with apache running a
virtualhost
Chris,
It is a bit difficult to determine your
Chris Pizzo wrote:
$r-headers_out-set('Set-Cookie',$cc);
$r-headers_out-set('Set-Cookie',$c);
should this second one be?
$r-headers_out-add('Set-Cookie',$c);
i didn't get a chance to try it, but it should be easy to try.
* Chris Pizzo [EMAIL PROTECTED] [2002-07-12 17:02]:
This works but I need to set multiple cookies. Im doing this:
my $c = new CGI::Cookie(-name = 'SID', -value = 'stuff', -expires
= '+6M');
my $cc = new CGI::Cookie(-name = 'BUD', -value =
'Wassup', -expires = '+6M');
Doh!
Thanks that's it!
- Original Message -
From: ___cliff rayman___ [EMAIL PROTECTED]
To: Chris Pizzo [EMAIL PROTECTED]
Cc: Charles [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, July 12, 2002 5:10 PM
Subject: Re: Weird problem with cookies on Netscape with apache running a