diff options
author | ivan <ivan> | 2012-01-21 03:59:16 +0000 |
---|---|---|
committer | ivan <ivan> | 2012-01-21 03:59:16 +0000 |
commit | 3e3a07a1f96d0e2f89cde0a33583c9b1276471f1 (patch) | |
tree | 910a3052a9ce43d8f982819aeb06eaf9d609f23d /rt/lib/RT/Interface | |
parent | fb4ab1073f0d15d660c6cdc4e07afebf68ef3924 (diff) |
rt 3.8.11
Diffstat (limited to 'rt/lib/RT/Interface')
-rw-r--r-- | rt/lib/RT/Interface/Web.pm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/rt/lib/RT/Interface/Web.pm b/rt/lib/RT/Interface/Web.pm index 959c80334..e4167e4cc 100644 --- a/rt/lib/RT/Interface/Web.pm +++ b/rt/lib/RT/Interface/Web.pm @@ -661,10 +661,11 @@ sub InstantiateNewSession { sub SendSessionCookie { my $cookie = CGI::Cookie->new( - -name => _SessionCookieName(), - -value => $HTML::Mason::Commands::session{_session_id}, - -path => RT->Config->Get('WebPath'), - -secure => ( RT->Config->Get('WebSecureCookies') ? 1 : 0 ) + -name => _SessionCookieName(), + -value => $HTML::Mason::Commands::session{_session_id}, + -path => RT->Config->Get('WebPath'), + -secure => ( RT->Config->Get('WebSecureCookies') ? 1 : 0 ), + -httponly => ( RT->Config->Get('WebHttpOnlyCookies') ? 1 : 0 ), ); $HTML::Mason::Commands::r->err_headers_out->{'Set-Cookie'} = $cookie->as_string; |