Which Scope contain data specific to a user session?
-
Page Scope
-
Session Scope
-
Request Scope
-
Application Scope
B
Correct answer
Explanation
Session scope stores data specific to a user's session, persisting across multiple requests from the same user. Page scope is for a single page, request scope exists only for one HTTP request, and application scope is shared across all users and sessions. Session scope is the correct choice for user-specific data that needs to persist during the user's interaction with the application.