some spacing.

This commit is contained in:
Matthew Wilson 2005-11-19 22:41:44 +00:00
parent ed40193555
commit 7dcf481511

View file

@ -159,15 +159,16 @@ The time that the cookie should remain in the browser. Defaults to "+10y" (10 ye
sub setCookie {
my $name = shift;
my $value = shift;
my $ttl = shift;
$ttl = (defined $ttl ? $ttl : '+10y');
my $ttl = shift;
$ttl = (defined $ttl ? $ttl : '+10y');
if (exists $session{req}) {
my $cookie = Apache2::Cookie->new($session{req},
-name=>$name,
-value=>$value,
-expires=>$ttl,
-path=>'/'
);
-name=>$name,
-value=>$value,
# -domain=>'.'.$session{env}{HTTP_HOST},
-expires=>$ttl,
-path=>'/'
);
$cookie->bake($session{req});
}
}