Share via


SPSecurityTokenServiceManager.UseSessionCookies property

Gets or sets a value that indicates whether session cookies or persistent cookies are used.

Namespace:  Microsoft.SharePoint.Administration.Claims
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property UseSessionCookies As Boolean
    Get
    Set
'Usage
Dim instance As SPSecurityTokenServiceManager
Dim value As Boolean

value = instance.UseSessionCookies

instance.UseSessionCookies = value
public bool UseSessionCookies { get; set; }

Property value

Type: System.Boolean
true if session cookies are to be used; false if persistent cookies are to be used. The default is false.

See also

Reference

SPSecurityTokenServiceManager class

SPSecurityTokenServiceManager members

Microsoft.SharePoint.Administration.Claims namespace