my $cookie = Apache2::Cookie->new($r, -name=>'ID', -value=>'holla', -expires=>'+3M' ); $cookie->bake();