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

evercookie return undefined when get() multi called at the same time #129

Open
AlvinWei1024 opened this issue Aug 10, 2017 · 2 comments
Open

Comments

@AlvinWei1024
Copy link

var ec = new evercookie();
ec.set('testKey', 'testValue');

ec.get('testKey', res => {console.log(res)});
ec.get('testKey', res => {console.log(res)});

when get() multi called at the same time, the result may be undefined;

@ghost
Copy link

ghost commented Dec 4, 2017

why you want to get multiple times? just call it once and store it in javascript variable.

@vladimmi
Copy link

@syamsoul because you want to store more than one cookie, for example. Using multiple get() with different keys breaks everything as well.

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

2 participants