php set cookie never expire code example
Example: php cookie never expire
//20 year long cookie
setcookie(
"CookieName",
"CookieValue",
time() + (20 * 365 * 24 * 60 * 60)
);
//20 year long cookie
setcookie(
"CookieName",
"CookieValue",
time() + (20 * 365 * 24 * 60 * 60)
);