ScriptManager::EnableSecureHistoryState Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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:
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.

System_CAPS_warningWarning

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

.NET Framework
Available since 3.5
Return to top
Show: