Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot set JSON cookie #48

Open
xiapoy opened this issue Jan 16, 2019 · 2 comments
Open

Cannot set JSON cookie #48

xiapoy opened this issue Jan 16, 2019 · 2 comments

Comments

@xiapoy
Copy link

xiapoy commented Jan 16, 2019

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?

@angleneo
Copy link

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.

@libesto
Copy link

libesto commented Nov 8, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants