[EMAIL PROTECTED] writes: > Does anyone know how to set a caookie expiration time with > $cookie_jar->set_cookie(). I'm not sure of the syntax and the > documentation is not specific on this.
The "Expires" field has been changed to "Max-Age" in the new cookie
spec.
The documentation for set_cookie says:
The $maxage value
is a number indicating number of seconds that this
cookie will live.
So if you want the cookie to expire 45 seconds from now, pass in a
value of 45 as $maxage.
Regards,
Gisle
