Cookie.setExpires

Sets @cookie's expiration time to @expires. If @expires is %NULL, @cookie will be a session cookie and will expire at the end of the client's session.

(This sets the same property as soup_cookie_set_max_age().)

class Cookie
void
setExpires

Parameters

expires Date

the new expiration time, or %NULL

Meta

Since

2.24