Partilhar via


FormsAuthenticationControl.MaxCookieLength Property

Gets or sets the maximum allowed length for the forms authentication logon cookies.

Namespace:  Microsoft.Office.Server.Search.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Property MaxCookieLength As UInteger
    Get
    Set
'Usage
Dim instance As FormsAuthenticationControl
Dim value As UInteger

value = instance.MaxCookieLength

instance.MaxCookieLength = value
public uint MaxCookieLength { get; set; }

Property Value

Type: System.UInt32
The maximum logon cookie length.

See Also

Reference

FormsAuthenticationControl Class

FormsAuthenticationControl Members

Microsoft.Office.Server.Search.WebControls Namespace