3 ms·
Hey Simon, Hmmm, you're right about the IE issues (http://mrcoles.com/blog/cookies-max-age-vs-expires/ http://mrcoles.com/blog/cookies-max-age-vs-expires/). I
by Fenn 15y ago
Hey Simon,
Hmmm, you're right about the IE issues (http://mrcoles.com/blog/cookies-max-age-vs-expires/ http://mrcoles.com/blog/cookies-max-age-vs-expires/). I haven't looked into how possible/hard expires would be in nginx config, but you could probably hack it in with http://wiki.nginx.org/HttpUserIdModule http://wiki.nginx.org/HttpUserIdModule
- simonw 15y agoThe problem with the expires argument is that you have to set it to a specific date, but I don't think you can be sure what timezone / clock setting the user's browser has - which means that it's pretty much impossible to reliably set a cookie that expires in a couple of seconds time. Hopefully I'm wrong - I'd love to know if there's a workaround for that issue.