- cookie
- The System.Web.HttpCookie to add to the collection.
Any number of cookie collections can exist within an application, but only the collection referenced by the intrinsic HttpResponse.Cookies object is sent to the client.
The HttpCookieCollection.Add(HttpCookie) method allows duplicate cookies in the cookie collection. Use the HttpCookieCollection.Set(HttpCookie) method to ensure the uniqueness of cookies in the cookie collection.