spewn
Programmer
- May 7, 2001
- 1,034
i have this code:
i want to include this also:
how do i combine both, and then set using:
thanks fot the help!
- g
Code:
$cgi = new CGI;
$sid = $cgi->cookie("CGISESSID") || undef;
$session = new CGI::Session(undef, $sid, {Directory=>'/tmp'});
$cookie = $cgi->cookie(CGISESSID => $session->id);
$sSid = $session->id();
i want to include this also:
Code:
$cookie = $q->cookie( -name => "cart_id",
-value => 12345,
-domain => ".oreilly.com",
-expires => "+1y",
-path => "/cgi",
-secure => 1 );
how do i combine both, and then set using:
Code:
print $cgi->header(-cookie=>$cookie);
thanks fot the help!
- g