How exactly the Sessions and Cookies work? || Session Management || Spring MVC || @SessionAttributes

Описание к видео How exactly the Sessions and Cookies work? || Session Management || Spring MVC || @SessionAttributes

From this video onwards, I am going to cover session management from scratch. Let’s get it done step by step.
STEP 1: I will give you the basics idea about cookies and sessions.
STEP 2: I am going to implement cookies and session in our spring MVC / spring boot app
STEP 3: I will explain to you the use of spring’s annotations like @CookieValue, @SessionAttributes, @SessionAttribute
STEP 4: I will introduce the conversational scope and we will have another video on @SessionAttribute and its uses (Episode 14)
STEP 5: I will walk you through some advanced-level configuration for spring’s session management


—————————

Video Map: ⏱️TIMESTAMPS⏱️

Introduction 00:00

why we need cookies? 01:31

cookies in java theory 05:40

implement cookies Requirement walkthrough 12:26

Creating cookie with java 16:17

Seeing cookies in chrome 20:30

Where safari stores its cookie? 22:44

Where chrome stores its cookie? 23:49

Task: Track the user using cookie 28:46

reading cookies in java 30:39

reading cookies using spring's @CookieValue: 39:32

Cookies Limitation:43:25

Why we should avoid cookies? 47:35


What is a session in java? 49:43

Why session over a cookie? 56:10

Implementing Java session, Requirement walkthrough 01:02:25

HttpSession deep dive 01:03:52

Adding objects to java session 01:03:52

The session uses cookies internally 01:10:42

Accessing session objects inside spring controller 01:14:37

What happens if the model attribute and Http session attribute names are same 01:18:02

Risk[Keep this in mind before you put your objects inside session] 01:22:38

Why the session timeout is required? Why invalidate the session? 01:23:40

How to invalidate a session/ session timeout using web.xml 01:25:59

session timeout code-based approach 01:26:35

@SessionAttributes introduction 01:28:30

ModelAttribute and SessionAttributes

Fixed : HttpSessionRequiredException 01:34:09
Fixed : SessionAttributes not working 01:35:18
ModelAttribute and SessionAttributes 01:3517

How to add multiple objects to the session using @SessionAttributes 01:39:34

@SessionAttributes : to be continued : 01:40:32

—————

#SessionManagement #SpringMVC #SeleniumExpress #SpringApp #Cookies

—————
Any time you are getting stuck with issues, Feel free to ask for support.
You can send mail to [email protected]

you can ping me on my Facebook page
  / seleniumexpress  

Make sure to join my private Facebook page
“SeleniumExpress - Support"
  / 187000222361579  

you can ask for support in my website forum
https://www.seleniumexpress.com

Subscribe to my youtube channel
   / @seleniumexpress  

Follow me on Insta
  / selenium_express  

Music :
-----------
credits : -
(channel intro)
Adventures by A Himitsu   / a-himitsu  
Creative Commons — Attribution 3.0 Unported— CC BY 3.0
http://creativecommons.org/licenses/b...
Music released by Argofox    • A Himitsu - Adventures [Royalty Free ...  
Music provided by Audio Library    • Adventures – A Himitsu (No Copyright ...  

Music 2:
After the rain by Rexlambo   / rexlambo  
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream: https://bit.ly/_after-the-rain
Music promoted by Audio Library    • after the rain – Rexlambo (No Copyrig...  
intro template :
   / alexbau01  

Комментарии

Информация по комментариям в разработке