Back to product page

Item property (HttpCookies)


References specific cookie in the collection.

Type

A HttpCookie object

Syntax

  • Basic
object.Item(Index)
The Item(object,Index) syntax has these parts:
objectAn expression evaluating to an object of type HttpCookies.
IndexRequired. A Variant value. String expression as cookie name, or integer as cookie index.

Remarks

This property will return one specific cookie from the collection. It can be used both for Request and Response objects.

After you get reference to the cookie, you can access its Name and Value properties, add Attributes etc.

Platforms

Windows