Cookieless Session

SessionId is stored at client side in cookies. Therefore we won’t be able to retrieve session’s data in the case when cookies are not enable.
ASP.NET support cookieless execution of the application when the client doens’t have cookies support. The Session id is embedded to the request url.

To set Cookieless session in an ASP.NET application set following value in web.config file
<sessionstate cookieless=”true” />

When you have cookieless session then the url may look like this

Leave a comment

Filed under .Net

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s