Session variables are stored in a SessionStateItemCollection
object that is exposed through the HttpContext.Session property.
Sessions are identified by a unique identifier that can be read by using the SessionID property.
By default, SessionID values are stored in a non-expiring session cookie in the browser. However, you can also configure the application to store SessionID values in the URL for a "cookieless" session.
However, you can specify that session identifiers should not be stored in a cookie by setting the cookieless attribute to true in the sessionState section of the Web.config file.
ASP.NET maintains cookieless session state by automatically inserting a unique session ID into the page's URL.
The session ID is embedded in the URL after the slash that follows the application name and before any remaining file or virtual directory identifier.Kasani007, if this helps please login to Mark As Answer. | Alert Moderator