$cookie = $query->cookie(-name=>'my-cookie', -value=>'1', -expires=>'+8h');