Errr - I think that that might actually cause a buffer overflow somewhere along the line, and you are more likely to end up getting a cookie which expires as soon as it is set.
Try something like
setcookie("name",$vars, 1798761600);
which should set it to expire at 2027-01-01 00:00:00.