sessionPageState Element (ASP.NET Settings Schema)
.NET Framework 3.0
Configures page view-state settings for an ASP.NET application.
<sessionPageState historySize="number" />
The following sections describe attributes, child elements, and parent elements.
Attributes
| Attribute | Description |
|---|---|
| historySize | Optional Int32 attribute. Sets the number of entries to be stored in the page history. |
Child Elements
None.
Parent Elements
| Element | Description |
|---|---|
| configuration | The root element in every configuration file used by the common language runtime and .NET Framework applications. |
| system.web | Specifies the root element for the ASP.NET configuration section. |
Tasks
How to: Configure Specific Directories Using Location SettingsHow to: Lock ASP.NET Configuration Settings
Reference
system.web Element (ASP.NET Settings Schema)configuration Element (General Settings Schema)
System.Web.Configuration.PagesSection.EnableSessionState
System.Configuration
System.Web.Configuration
Concepts
ASP.NET Configuration File Hierarchy and InheritanceSecuring ASP.NET Configuration
ASP.NET Configuration Scenarios
Other Resources
General Configuration Settings (ASP.NET)ASP.NET Configuration Settings
Configuring ASP.NET Applications
ASP.NET Configuration Files
ASP.NET Configuration API
Community Additions
ADD
Show: