from the CGI docs:[tt]
$cookie = $query->cookie(-name=>'sessionID',
-value=>'xyzzy',
-expires=>'+3h',
-path=>'/cgi-bin/database',
-domain=>'.capricorn.org',
-secure=>1);
print $query->header(-cookie=>$cookie);[/tt]
sets the cookie expiration to three hours from when it's set (that's the '+3h' part). "If you think you're too small to make a difference, try spending a night in a closed tent with a mosquito."