Skip to content

Commit

Permalink
Feat: session print 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
noeyoes authored Apr 5, 2024
2 parents 20849ac + 794478e commit 0e9488e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ private void createSessionAndSetCookie(HttpServletRequest request, HttpServletRe
SecurityContextHolder.getContext());

Cookie cookie = new Cookie("JSESSIONID", session.getId());
System.out.println(session.getId() + "===========================");
cookie.setPath("/");
cookie.setMaxAge(30000 * 60);
response.addCookie(cookie);
Expand Down

0 comments on commit 0e9488e

Please sign in to comment.