␡
- Introduction
- Configuring In-Process Session State
- Configuring Out-of-Process Session State
- Disabling or Enabling Session State at the Page Level
- Working with Cookieless Session-State Management
- Summary
Like this article? We recommend
Disabling or Enabling Session State at the Page Level
If you aren't creating any Session entries in a particular page, you can disable session state at the page level in the @ Page directive. For example, <@ Page EnableSessionState="false" ... disables the session for a particular page. You can change the value to "true" or remove the EnableSessionState attribute, relying on the default value of true to enable page-level session management.