Description
Returns the expiration 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 expiration component of the cookie.
Example
REM Get the expiration part of the Nth cookie in the cookie cache:
Domain = WebsterPro1.GetCookieExpiration(N)
Remarks
The format of the cookie expiration string is "Wdy, DD-Mon-YYYY HH:MM:SS GMT".
Use the CookieCount property to get the number of cookies in the cookie cache.
Use the GetCookieDomain, GetCookiePath, GetCookieName, and GetCookieValue methods to get the other cookie elements.