HttpCookieCollection
Wisej.Core.HttpCookieCollection
Last updated
Wisej.Core.HttpCookieCollection
Last updated
Namespace: Wisej.Core
Assembly: Wisej.Framework (3.2.0.0)
Encapsulates the cookies sent in an HTTP request.
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.
Adds the specified cookie to the cookie collection.
Parameter | Type | Description |
---|---|---|
cookie |
Clears all cookies from the cookie collection.
Returns the cookie with the specified name from the cookie collection.
Parameter | Type | Description |
---|---|---|
name | Name of the cookie to retrieve. |
Returns: HttpCookie.
Returns the HttpCookie at the specified index.
Parameter | Type | Description |
---|---|---|
index | Index of the cookie to retrieve. |
Returns: HttpCookie.
Returns the key (name) of the cookie at the specified numerical index.
Parameter | Type | Description |
---|---|---|
index |
Returns: String.
Removes the cookie with the specified name from the collection.
Parameter | Type | Description |
---|---|---|
name |
Updates the value of an existing cookie in a cookie collection.
Parameter | Type | Description |
---|---|---|
cookie |