Open xiapoy opened 5 years ago
I want to set an JSON javascript object in the cookie:
this.$cookie.set('test', JSON.stringify(this.json), 1);
Unfortunately, the cookie is not set. What am I doing wrong?
i had the same problem.
For most browsers, do not exceed 50 cookies per domain, and 4093 bytes per domain. Set 1 cookie of 4093 bytes, or 2 cookies of 2045 bytes, etc.
I want to set an JSON javascript object in the cookie:
this.$cookie.set('test', JSON.stringify(this.json), 1);
Unfortunately, the cookie is not set. What am I doing wrong?