Hi everyone!
I´ve been using PHP & MySQL for a while and thinks it is a killer combination. Well, as you probably understand I have a question
as well:
I am writing a user-identification system these days, and need
to know how to read the expiration time for a cookie set in PHP.
If I create a cookie with:
setcookie("MyCookie", "MyValue", time() + 600);
How can I then later read the expiration value of the users
cookie? Lets say tomorrow (it then would be a long time since the
cookie expired ...
Or ... hmm ... will the browser automatically delete the cookie when it is expired ... so the only thing I should do is test for its existence?
I need some help on this, cause the whole cookie programming thing is kind of new for me.