I am trying to set the expiry date of a cookie with the following
setcookie("Authenticate", "$fred1", time()+360024365,"/");
I was hoping that it would set it for 1 year but it doesnt seem to be working, it seems to be about 2 weeks
How do i set the expiry date for 1 year or at least the maximum time possible
Any ideas