This repository has been archived by the owner on Nov 15, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
expires-option ... #61
Comments
the only eye-catcher are following lines:
could you maybe isolate your breaking-call to a fiddle (eg @ jsfiddle.net)? |
I'm seeing similar behavior - Mac OSX - Chrome 18.0.1025.163 From the console:
Any ideas what might be happening here? |
It looks like i had an old version. The latest code (commit 1fa4a18) seems to do the trick. The old version i was using included the following extra bit for managing expiry. This was probably the issue:
I've added a couple tests for set/get cookies with expiry. I'll submit a pull request if you feel like adding that to the project. Cheers |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
... does not seem to work. I'm trying to create a cookie using
$.cookie(cookieName, cookieValue, {expires: new Date(Date.now() + (30 * 60 * 1000)), domain: vDomain, path: vPath});
But every Browser stores this cookie as session cookie. Can anyone reproduce this?
The text was updated successfully, but these errors were encountered: