Skip to content

Commit

Permalink
Partitioned
Browse files Browse the repository at this point in the history
  • Loading branch information
samie committed Jul 29, 2024
1 parent 47ead64 commit 3cfacda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/example/application/Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public String generateHeader(Cookie cookie, HttpServletRequest request) {
if (cookie.getName().startsWith("JSESSIONID")) {
cookie.setSecure(true);
cookie.setAttribute("SameSite", SameSiteCookies.NONE.getValue());
cookie.setAttribute("Partitioned", "");
}
return super.generateHeader(cookie, request);
}
Expand Down

0 comments on commit 3cfacda

Please sign in to comment.