Skip to content

Conversation

@janeljs
Copy link
Owner

@janeljs janeljs commented Mar 31, 2021

시온과 함께 작업

Comment on lines +26 to +28
UUID uuid = UUID.randomUUID();
SessionDataBase.sessions.put(uuid.toString(), targetUser);
response.addHeader("Set-Cookie", SessionDataBase.JSESSIONID + "=" + uuid);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UUID를 사용하여 세션을 저장해주신 부분이 좋네요!

@ghost ghost merged commit c75f752 into dev Mar 31, 2021
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants