ScriptManager::EnableSecureHistoryState Property


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)

property bool EnableSecureHistoryState {
	bool get();
	void set(bool value);

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