You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 28, 2020. It is now read-only.
Use Zero Literally When Cookie Expiration is Zero (#37)
* Use Zero Literally When Cookie Expiration is Zero
Otherwise add the cookie expiration to the current time. This means that
folks using the `0` in their bundle config will have a cookie that lasts
the length of the browser session. Everyone else will get a cookie that
expiers $cookieExpire seconds in the future.
Should fix#33 and address some of the concerns raised in #35 and the
commit 5479263
* Add Tests to Verify the Cookie Expiration Behavior
- One test to verify that a zero value sets the cookie with no
expiration (a session cookie).
- Another to test that an actual expiration is set to a time in the
future.
0 commit comments