본문 바로가기

session

(4)
Spring Boot Session MySQL 연동, 저장 이미 구현한 Spring Session의 데이터를 MySQL에 저장하는 방법에 대해서 알아볼거에요. 예제 소스가 필요하신 분은 아래 글을 참고해주세요. https://gofnrk.tistory.com/42 Spring Boot Session 사용하기 (Bean Scope) Spring Boot에서 세션을 사용하는 방법에 대해서 알아볼게요. Bean Scope를 활용하여 session 데이터를 편리하게 관리할 수 있는 방법을 알려드릴거에요. 굉장히! 간단합니다. 컴포넌트 하나만 추가하면 되요. Use.. gofnrk.tistory.com build.gradle dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-j..
Spring Boot Session MongoDB 연동, 저장 이미 구현한 Spring Session의 데이터를 MongoDB에 저장하는 방법에 대해서 알아볼거에요. 예제 소스가 필요하신 분은 아래 글을 참고해주세요. https://gofnrk.tistory.com/42 Spring Boot Session 사용하기 (Bean Scope) Spring Boot에서 세션을 사용하는 방법에 대해서 알아볼게요. Bean Scope를 활용하여 session 데이터를 편리하게 관리할 수 있는 방법을 알려드릴거에요. 굉장히! 간단합니다. 컴포넌트 하나만 추가하면 되요. Use.. gofnrk.tistory.com build.gradle dependencies { implementation 'org.springframework.boot:spring-boot-starter-data..
Spring Boot Session Redis 연동, 저장 이미 구현한 Spring Session의 데이터를 Redis에 저장하는 방법에 대해서 알아볼거에요. 예제 소스가 필요하신 분은 아래 글을 참고해주세요. https://gofnrk.tistory.com/42 Spring Boot Session 사용하기 (Bean Scope) Spring Boot에서 세션을 사용하는 방법에 대해서 알아볼게요. Bean Scope를 활용하여 session 데이터를 편리하게 관리할 수 있는 방법을 알려드릴거에요. 굉장히! 간단합니다. 컴포넌트 하나만 추가하면 되요. Use.. gofnrk.tistory.com build.gradle dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-r..
Spring Boot Session 사용하기 (Bean Scope) Spring Boot에서 세션을 사용하는 방법에 대해서 알아볼게요. Bean Scope를 활용하여 session 데이터를 편리하게 관리할 수 있는 방법을 알려드릴거에요. 굉장히! 간단합니다. 컴포넌트 하나만 추가하면 되요. pom.xml org.springframework.session spring-session-core build.gradle dependencies { implementation 'org.springframework.session:spring-session-core' } UserInfo 세션에 저장할 데이터 변수를 선언해줄거에요. 예제니깐 아주 간단하게 사용자의 아이디와 이름만 저장할게요. SCOP_SESSION : 객체가 한 세션에서 생명주기를 갖도록 Bean Scope를 sessio..