I am having a problem with Google Chrome and Internet Explorer not properly handling the setcookie time() function. Firefox and Safari work fine.
This is the code that is causing problems in Chrome/IE.
They are both approx. 7 hours behind and they only way I can get the cookie to set is if I set the expiration time to at least the following.
I have checked the server time and it's set correctly. I have checked the time on my computer and it is accurate as well.
How come this is not working in those browsers?
What is the cross-browser solution to get a cookie to expire 1 minute from the current time?