Multiple choice technology web technology

How does Asp.Net store sessionId's by default?

  1. Stores in Cookies

  2. Stores in Database

  3. Stores in a Global Variable

  4. Stores in Cache

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

By default, ASP.NET uses cookies to store the Session ID on the client's browser (the cookie is named ASP.NET_SessionId by default). While session data itself can be stored in memory, State Server, or SQL Server, the ID itself is transmitted via a cookie unless cookieless session state is explicitly enabled.