Skip to content

Commit

Permalink
Update web.xml
Browse files Browse the repository at this point in the history
httpOnly for cookies
  • Loading branch information
haarli authored Oct 14, 2024
1 parent 090512a commit 391f746
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,13 @@
<!-- in the application code, to the value that is configurable -->
<!-- (LoginSessionTimeout in the settings table), with the -->
<!-- default value of 8 hours. -->

<cookie-config>
<http-only>true</http-only>
</cookie-config>


<session-timeout>
10
</session-timeout>
<cookie-config>
<http-only>true</http-only>
</cookie-config>
<!-- Uncomment the line below to disble `;jsessionid=` in URLs -->
<!-- tracking-mode>COOKIE</tracking-mode -->
</session-config>
Expand Down

0 comments on commit 391f746

Please sign in to comment.