View Full Version : cookie with no time limit

01-09-2008, 07:16 PM
how can i set a cookei with no time limit or a limit of a year?

01-09-2008, 10:58 PM
You can't set one with no limit - leaving off the limit will create a session cookie that expires when the browser is closed.To set a cookie that expires in a year simply add a year to the current dat and use that for the expiry.