HttpCookieCollection

Wisej.Core.HttpCookieCollection

Namespace: Wisej.Core

Assembly: Wisej.Framework (3.5.0.0)

Encapsulates the cookies sent in an HTTP request.

public class HttpCookieCollection

Properties

String[]: Returns all the keys (cookie names) in the cookie collection.

Int32: Returns the number of cookies in the collection.

HttpCookie: Returns the cookie with the specified name from the cookie collection.

HttpCookie: Returns the cookie with the specified numerical index from the cookie collection.

Methods

Adds the specified cookie to the cookie collection.

ParameterTypeDescription

cookie

Clears all cookies from the cookie collection.

Returns the cookie with the specified name from the cookie collection.

ParameterTypeDescription

name

Name of the cookie to retrieve.

Returns: HttpCookie.

Returns the HttpCookie at the specified index.

ParameterTypeDescription

index

Index of the cookie to retrieve.

Returns: HttpCookie.

Returns the key (name) of the cookie at the specified numerical index.

ParameterTypeDescription

index

Returns: String.

Removes the cookie with the specified name from the collection.

ParameterTypeDescription

name

Updates the value of an existing cookie in a cookie collection.

ParameterTypeDescription

cookie

Last updated