• 카테고리

    질문 & 답변
  • 세부 분야

    백엔드

  • 해결 여부

    미해결

세션은 브라우저가 종료되면 sessionid를 제거한대요

23.02.06 17:20 작성 조회수 904

0

https://chlolisher.tistory.com/102

 

이런 블로그글이 많은데요

강의에선 브라우저가 종료돼도 서버가 가지고있는 세션저장소의 세션값이 삭제가 안된다는거잖아요?

근데 이 글에서는 세션값이 삭제가 된다고 얘기하고있는것같아요.. 헷갈립니다..

답변 1

답변을 작성해보세요.

0

Sang-Uk Lee님의 프로필

Sang-Uk Lee

2023.02.06

When browser closes, the session id set in the ‘browser cookie’ is removed. It does not mean that session in the server is removed.

However, after the certain amount of time, the session in the server will be also deleted as it wont be called anymore and hit the session max lifetime.