Cookie expiration doesn't work in Opera
![]() ![]() |
I've been using a minor variation of this script in Opera and discovered that the cookie expiration doesn't work there. The cookies set by the script are supposed to expire in one year. However, according to Opera, the expiration field was empty. I don't know whether the same problem exists in Firefox; can't check now. In order to fix the problem, replace var expires = new Date(); expires.setTime(expires.getTime() + 1000 * 60 * 60 * 24 * 365); with
|

