[This is preliminary documentation and is subject to change.]

Removes a cookie (by setting its Expiry one year in the past).

Namespace: Simple.Web.HttpSimple.Web.HttpSimple::Web::Http
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

public static void RemoveCookie(

this IResponse response,

string name

)

VB

Public Shared Sub RemoveCookie( _

response As IResponse, _

name As String _

)

C++

public:

static void RemoveCookie(

IResponse^ response,

String^ name

)

Parameters

name
Type: System.StringSystem.StringSystem::String
The name of the cookie to remove.

See Also

ResponseExtensionsResponseExtensionsResponseExtensions Class
Simple.Web.HttpSimple.Web.HttpSimple::Web::Http Namespace