node-continuation-local-storage icon indicating copy to clipboard operation
node-continuation-local-storage copied to clipboard

chaos session

Open ourfeel opened this issue 9 years ago • 3 comments

use CLS to save session data, but found that session is chaos. image image

ourfeel avatar Dec 16 '15 01:12 ourfeel

Can you describe what you mean by "chaos"? It looks like you're using generators and Promises to do sugarless async / await, which should work fine with CLS as long as you're using a newish version of async-listener(the newly-published [email protected] includes a dependency on the required async-listener version). What's not working as expected?

othiym23 avatar Jan 29 '16 22:01 othiym23

@othiym23 my version is 3.1.4. chaos means that one session may be other one

ourfeel avatar Feb 02 '16 12:02 ourfeel

@ourfeel could you provide a reproducable test-case, maybe a small git repo with the example?

iliakan avatar Feb 12 '16 20:02 iliakan