Multiple choice technology programming languages

_____________ is the mechanism that servlets use to have a client hold a small amount of state information associated with the user.

  1. sessions

  2. HttpRequest

  3. HttpResponse

  4. Java Beans

  5. Cookies

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

Cookies are small text files stored on the client side that maintain state information across HTTP requests. Sessions are server-side mechanisms (cookies often store the session ID). HttpRequest/HttpResponse are request/response objects, not state storage. Java Beans are component models, not state mechanisms.