Multiple choice technology web technology

What is a session?

  1. Session is a cookie

  2. Session is basically is the duration between user login and logout time

  3. Session is a server side variable

  4. Session usually is non persistent cookie

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

A session represents the duration of a user's interaction with an application, typically spanning from login to logout. During this period, the server maintains user-specific state and data. While sessions are often implemented using cookies or server-side variables, the fundamental concept is the time duration itself, not the implementation mechanism. Sessions are generally persistent across multiple requests within the same login period.