Just a quick question. Is there any easy way how to not to change expire time in cookie while updating?
Let's say I have a cookie set to expire in 24 hours. But in the same date i update the cookie few times. But i still want the cookie expire at the same time after 24 hours.
Detailed example:
Cookie "counter" should expire on 23.07.2011 10:00. Now after one hour because of some action I update value of this cookie. if i set the time for 24 hours it would expire on 23.07.2011 11:00, but i need the expire time to stay at 23.07.2011 10:00.
Is there any easy way? Only way i can think of is to have another cookie with stored expire time, but i would swear there must be easier way, just missing something ?
Thank you