GetCookieName

 

Description

 

Returns the name element of a specified cookie.

 

Arguments

 

Name

Type

I/O

Description

Index

Long Integer

In

The zero-based index of the cookie.

 

 

 

 

 

Return Value

 

String: the name component of the cookie.

 

Example

 

REM Get the name part of the Nth cookie in the cookie cache:

Domain = WebsterPro1.GetCookieName(N)

 

Remarks

 

Use the CookieCount property to get the number of cookies in the cookie cache.

 

Use the GetCookieDomain, GetCookiePath, GetCookieValue and GetCookieExpiration methods to get the other cookie elements.