How To Manage Cookies with Spring MVC and Spring Boot

Опубликовано: 03 Август 2026
на канале: Alex Gutjahr
3,246
61

Hey friends! Today, we look into baking and consuming cookies with Spring MVC. What do the individual properties mean, and how do you make cookies persistent. Enjoy!

⛩️ Navigation
00:00 - Intro
00:28 - Let's Code
00:45 - Bake a Cookie
01:39 - Analyze Cookie Ingredients (Expiration, HttpOnly, Secure, ..)
02:41 - Consume a Cookie
02:56 - Use the ResponseCookie Builder
05:34 - Use the CookieValue Annotation
07:26 - Delete a Cookie

🍃 Code & Resources
Grab the code for this tutorial here https://axgr.dev/posts/spring-cookies...

🙌 Get in Touch
Join my newsletter and say hi here https://axgr.dev/newsletter/?utm_camp...

🎙 Gear & Links
Mechanical Keyboard: https://x.axgr.dev/keyboard
Studio Camera: https://x.axgr.dev/studio-camera
Studio Lens: https://x.axgr.dev/studio-lens
Studio Mic: https://x.axgr.dev/studio-mic
Vlog Camera: https://x.axgr.dev/vlog-camera
Vlog Lens: https://x.axgr.dev/vlog-lens

All my affiliate links https://axgr.dev/deals/?utm_campaign=...

I may earn a small commission for purchases made through the links above at no additional cost to you.

🎶 Music
Background music by    / @kainbeats  

🍿 Subscribe
Want to see more tech tutorials? Subscribe now!