Description
Returns the domain 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 domain component of the cookie.
Example
REM Get the domain part of the Nth cookie in the cookie cache:
Domain = WebsterPro1.GetCookieDomain(N)
Remarks
Use the CookieCount property to get the number of cookies in the cookie cache.
Use the GetCookiePath, GetCookieName, GetCookieValue and GetCookieExpiration methods to get the other cookie elements.