---
title: "By default where the sessions ID's are stored ?"  
description: "By default where the sessions ID's are stored ?"  
author: "Anonymous User"  
published: 2015-02-01  
updated: 2020-09-21  
canonical: https://www.mindstick.com/interview/2320/by-default-where-the-sessions-id-s-are-stored  
category: "c#"  
tags: ["asp.net", "session", "sessionid"]  
reading_time: 1 minute  

---

# By default where the sessions ID's are stored ?

By default, the unique identifier for a session is stored in a non-expiring session cookie in the browser. You can specify that session identifiers not be stored in a cookie by setting the cookieless attribute to true in the sessionState configuration element.\
We can also configure our application to store it in the url by specifying a "cookieless" session\
The ASP Session cookie has this format:-\
ASPSESSIONIDACSSDCCC=APHELKLDMNKNIOJONJACDHFN

## Answers

### Answer by Anonymous User

By default, the unique identifier for a session is stored in a non-expiring session cookie in the browser. You can specify that session identifiers not be stored in a cookie by setting the cookieless attribute to true in the sessionState configuration element.\
We can also configure our application to store it in the url by specifying a "cookieless" session\
The ASP Session cookie has this format:-\
ASPSESSIONIDACSSDCCC=APHELKLDMNKNIOJONJACDHFN


---

Original Source: https://www.mindstick.com/interview/2320/by-default-where-the-sessions-id-s-are-stored

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
