SPFormDigestSettings.Expires Property
Gets or sets a value specifying whether security validation can expire, and requires that the page be refreshed before the form can be submitted.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property Expires As Boolean
Get
Set
'Usage
Dim instance As SPFormDigestSettings
Dim value As Boolean
value = instance.Expires
instance.Expires = value
public bool Expires { get; set; }
Property Value
Type: System.Boolean
true if the security validation expires based on the Timeout value, requiring the user to refresh the page before submitting the form; otherwise, false. The default value is true.