Skip to content

Commit

Permalink
feat(session): session 만료 로그 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
junhyeongkim2 committed Oct 28, 2024
1 parent 308c3e7 commit b115139
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -80,9 +80,9 @@ public String testRedirect(HttpSession session, @RequestParam String deviceToken
log.info("현재 세션 정보:");
log.info("ID: {}", session.getId());
log.info("생성시간: {}", new Date(session.getCreationTime()));
log.info("세션 만료시간: {}", new Date(session.getMaxInactiveInterval()));
log.info("마지막접근: {}", new Date(session.getLastAccessedTime()));


// 세션 만료시키기
model.addAttribute("deviceToken", deviceToken);
session.invalidate();

0 comments on commit b115139

Please sign in to comment.