cookie class : Expires getter

Description

Returns the expiration date.

Syntax

instance.Expires

Arguments

None.

Return value

ClassDescription
stringExpiration date of the cookie.

Sample code

1:

browser br;

2:

cookie coo = br.GetCookie("Example");

3:

string expStr = coo.Expires;

Notes

A string representing the expiration date is returned.

Links for reference

None.

Copyright © Cooker All rights reserved.