set_expires
Description:
Sets this's expiration time to expires
.
If expires
is null, this will be a session cookie and will
expire at the end of the client's session.
(This sets the same property as [method@Cookie.set_max_age].)
Parameters:
this |
a Cookie |
expires |
the new expiration time, or null |