asp.net.ph

HttpCookieCollection.Remove Method

System.Web Namespace   HttpCookieCollection Class


Removes the cookie with the specified name from the collection.

[ VB ]
Public Sub Remove ( _
   ByVal name As String _
)

[ C# ]
public void Remove (
   string name
);

[ C++ ]
public: void Remove (
   String* name
);

[ JScript ]
public function Remove (
   name : String
);

Parameters

name
The name of the cookie to remove from the collection.

Example

The following example removes a cookie from the collection.

[ VB ]
myCookieCollection.Remove ( myCookie )

[ C# ]
myCookieCollection.Remove ( myCookie );
See Also

HttpCookieCollection Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph