Posts

Showing posts from May, 2018

Cookieless Session

Introduction There are various reasons to adopt cookieless session. Recently, I implemented cookieless session and in that process, I went through many articles on the internet, but none of them have gone in depth to bring it all together. To implement cookieless sessions, you don't have to modify your programming model—a simple change in the  web.config  file does the trick. But with that can come uncovered scenario and you would end up spending considerable time fixing it up just like I did. So let's get started with what and how it has to be changed to make cookieless work for you with no issues. Now let us go through the steps one by one: Step 1: Adjust the web.config file Interestingly enough, you don't have to change anything in your ASP.NET application to enable cookieless sessions, except the following configuration setting. < sessionState cookieless ="true" />                     < authentication mode ="Forms">