Hello,
I use PHP session cookie to store an id number.
I know how to set a cookie expiration date using the setcookie function, but
how to set an expiration date when the cookie is created by the
session_start function ?
I know the cookie expires after the session ends, but when I look at my HTTP
headers, the cookie's expiration date created by the session is set to 19
Nov 1981. Something must be wrong.
Thanks for your help,
Christophe
I use PHP session cookie to store an id number.
I know how to set a cookie expiration date using the setcookie function, but
how to set an expiration date when the cookie is created by the
session_start function ?
I know the cookie expires after the session ends, but when I look at my HTTP
headers, the cookie's expiration date created by the session is set to 19
Nov 1981. Something must be wrong.
Thanks for your help,
Christophe
Comment