ByDefault ASP.Net SessionID is stored in Cookies - ASP.NET Introduction

Q.  ByDefault ASP.Net SessionID is stored in _________.
- Published on 19 Oct 15

a. Application
b. Session
c. Cookies
d. ViewState

ANSWER: Cookies
ByDefault ASP.Net SessionID is stored in cookies.
SessionID enables you to retrieve the unique session identifier of a particular user.
By default, Session state depends on cookies. SessionID is stored in a cookie named ASP.NET_SessionId to identity a user. If a user disables cookies in the browser, then Session state doesn’t work. The ASP.NET_SessionId cookie is used to associate the correct data with the correct user.

Post your comment / Share knowledge

Enter the code shown above:
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)