SPChunkedCookieHandler.DeleteCore method (String, String, String, HttpContext)
Deletes the data for the authentication cookie.
Namespace: Microsoft.SharePoint.IdentityModel
Assembly: Microsoft.SharePoint.IdentityModel (in Microsoft.SharePoint.IdentityModel.dll)
Syntax
'Declaration
Protected Overridable Sub DeleteCore ( _
name As String, _
path As String, _
domain As String, _
context As HttpContext _
)
'Usage
Dim name As String
Dim path As String
Dim domain As String
Dim context As HttpContext
Me.DeleteCore(name, path, domain, context)
protected virtual void DeleteCore(
string name,
string path,
string domain,
HttpContext context
)
Parameters
name
Type: System.StringThe cookie name.
path
Type: System.StringThe cookie path.
domain
Type: System.StringThe cookie domain.
context
Type: System.Web.HttpContextThe HTTP context for the request.
Remarks
This method creates a new authentication cookie with the specified name, no value, and expiration time of January 1, 1970.