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