Skip to content

Commit 6fb0191

Browse files
committed
Add a note about gotcha when clearing cookies
1 parent 575a419 commit 6fb0191

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎README.rdoc‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ Delete cookie by passing null as value:
3131

3232
$.cookie('the_cookie', null);
3333

34+
Note when clearing cookies, you must pass the exact same options that were used to initially set the cookie.
35+
3436
== Options
3537

3638
expires: 365

0 commit comments

Comments
 (0)