GetCookieValue

 

Description

 

Returns the value 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 value component of the cookie.

 

Example

 

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

Domain = WebsterPro1.GetCookieValue(N)

 

Remarks

 

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

 

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