Which Scope contain data specific to a user session?
-
Page Scope
-
Session Scope
-
Request Scope
-
Application Scope
B
Correct answer
Explanation
In web applications, Session Scope stores data specific to a user session throughout their interaction with the application. Page Scope is per individual page, Request Scope lasts only for a single HTTP request, and Application Scope is global across all users and sessions. Session scope maintains user-specific state (like cart contents or login status) across multiple requests.