seniorSpring
What is request scope vs session scope in Spring MVC?
Updated May 17, 2026
Short answer
Request scope lives per HTTP request; session scope lives per user session.
Deep explanation
Request scope beans are created and destroyed per request. Session scope persists across multiple requests for a user session, useful for user-specific state.
Unlock with a Pro subscription to view this section.
View pricingReal-world example
No real-world example available yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProCommon mistakes
No common mistakes listed yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProFollow-up questions
No follow-up questions available yet.
Unlock with a Pro subscription to view this section.
Upgrade to Pro