-
-
Notifications
You must be signed in to change notification settings - Fork 0
CookieEngine.Expires
Andrew Lambert edited this page Jan 3, 2023
·
3 revisions
CookieEngine.Expires
Function Expires(Index As Integer) As Date
Sub Expires(Index As Integer, Assigns NewExpiry As Date)
Name | Type | Comment |
---|---|---|
Index | Integer | The index of the cookie whose expiration date is to be read. |
Name | Type | Comment |
---|---|---|
Index | Integer | The index of the cookie whose expiration date is to be updated. |
NewExpiry | Date | The new expiration date of the cookie. |
The expiration date the specified cookie. If the cookie didn't specify an expiration date (i.e. it's a session cookie) then the return value is Nil
.
Gets and sets the expiration date of the specified cookie. The earliest valid expiration date is 1-1-1970 00:00:00 GMT. You can convert a cookie into a session cookie by setting its expiration date to Nil
.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2021-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.