Rick - I've been trying to look up details on this, and it seems some take a different root. For example:
Code
//creating expiration date

var now = new Date();

now.setTime(now.getTime() + 1000 * 60 * 60 * 24 * 365)

document.cookie = "name=" + escape(phrase) + ";expires=" + now;


Notice the 1000 (milliseconds) in there. (I've seen some examples with and without the 1000 ms, so I don't know...)

Full explanation here



GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP