Hello. I am trying to send mutiple cookie entries($cookie1, $cookie2,
$cookie3) as you can see from below code.
use CGI;
my $cookie1 = cookie(-name=>'eid', -value=>$arr[0], -expires=>'1h');
my $cookie2 = cookie(-name=>'uname', -value=>$uname, -expires=>'1h');
my $cookie3 =
cookie(-name=>'lg', -value=>'89FHSJu909sadaIO', -expires=>'1h');
$HTML::Embperl::http_headers_out{'Set-Cookie'} = $cookie1;
$HTML::Embperl::http_headers_out{'Set-Cookie'} = $cookie2;
$HTML::Embperl::http_headers_out{'Set-Cookie'} = $cookie3;
But it seems like only cookie3 which is the last one, is being sent. Can't I
call
"http_headers_out{'Set-Cookie'}" mutiple times? If so, how do I send mutiple
cookie entries? and retrieve them?
+++++++++++++++++++++++++++++++++
Andrew Lim
Web Developer
California Tan, Inc.
10877 Wilshire Blvd. 12th FL.
Los Angeles, CA 90024
T. 310.824.2508 ext.245
F. 310.824.0082
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]