Skip to content

libcURL.CookieEngine.Expiry

Andrew Lambert edited this page Nov 26, 2022 · 10 revisions

Method Signatures

 Function Expiry(Index As Integer) As Date
 Sub Expiry(Index As Integer, Assigns NewExpiry As Date)

Parameters

Expiry(Integer)

Name Type Comment
Index Integer The index of the cookie to query. The first cookie is at Index 0

Expiry(Integer, Date)

Name Type Comment
Index Integer The index of the cookie to modify. The first cookie is at Index 0
NewExpiry Date The new expiration date for the cookie

Return value

The cookie expiry, or Nil if a session cookie.

Remarks

Gets and sets the expiration date of the cookie at Index. To make a cookie become a session cookie pass Nil as the NewExpiry.

See also

Clone this wiki locally