CookieHandler.Delete Method ()

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Deletes the cookie associated with the current request that has the default name, domain, and path.

Namespace:   System.IdentityModel.Services
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

public void Delete()

The name, domain and path are specified by the Name, Domain, and Path properties. The request is specified by HttpContext.Current

.NET Framework
Available since 4.5
Return to top