my $session_cookie = $q->cookie( -name => 'CGISESSID', -value => $sess->id, );