Answer: Yes, we can disable session state for whole application by setting in web.config file
<configuration>
<system.web>
<pages enableSessionState="false" />
</system.web>
</configuration>
But if you want to enable session state in perticular pages you can set enableSessionState="true" in page directives.
<%@ Page EnableSessionState="true" %>
Found interesting? Add this to: