|go ahead... be a heretic|
Multiple Cookies with CGI::Applicationby Nomis52 (Friar)
|on Jul 27, 2002 at 12:29 UTC||Need Help??|
Nomis52 has asked for the
wisdom of the Perl Monks concerning the following question:
I'm attempting to set multiple cookies using CGI::Application, this is running under mod_perl.
The problem is that only the last cookie in the array (in this case $c2) gets set. If I swap them to:
Then only $c1 is set. Finally :
Sets only $c2.
header_props() returns a hash with the attributes set. I've checked this and everything _seems_ to be fine. However if I pass this to the header() method from CGI, I get an '', which I think indicates something is wrong:(
The same script under 'traditional' cgi (no mod_perl) works fine
Any help would be much appricated, as I'm sure its something really simple I've missed