ScriptManager.EnableSecureHistoryState Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets a value that indicates whether to encrypt the history state string.

Namespace:   System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public bool EnableSecureHistoryState { get; set; }

Property Value

Type: System.Boolean

true if the history state string should be encrypted; otherwise, false. The default value is true.


This property should never be set to false on a production web site.

.NET Framework
Available since 3.5
Return to top