top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How you can disable session in Asp.Net?

+5 votes
208 views
How you can disable session in Asp.Net?
posted Dec 11, 2014 by Manikandan J

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

If we set session Mode="off" in web.config, session will be disabled in the application. For this, we need to configure web.config the following way:

 <configuration>
   <sessionstate  Mode="off"/>
 </configuration>
answer Dec 14, 2014 by Shivaranjini
...