Multiple choice .net

A Session variable is created:

  1. when the application is first placed on a web server.

  2. when the web server is first started.

  3. when the first client requests a URL resource.

  4. every time a client requests a URL resource.

  5. every time a new client interacts with the web application.

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

Session variables are created when a new client first interacts with the web application, establishing a unique session for that user. The application's placement on the server or the web server's startup do not trigger session creation - sessions are user-specific. Every subsequent request from that same client uses the existing session; only new clients get new sessions.