in reply to Cookie Problem!
If you want an expiration date, then set one:
$cookie = $query->cookie(-name=>'my-cookie', -value=>'1', -expires=>'+8h'); [download]