Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- set session cookie expiration date
- Christophe Lance
December 21, 2004, 10:07 pm
rate this thread
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,
Re: set session cookie expiration date
<http://www.andyhsoftware.co.uk/space Space: disk usage analysis tool