How to use session values in all the view files - node.js

20 views
Skip to first unread message

prem Kumar

unread,
Feb 12, 2015, 7:29:25 AM2/12/15
to nod...@googlegroups.com
Hi,

1) Need to access session variables in all my view page.

2) Also how to store object values in session and append new values to existing object in session.


Please guide me solve this issue..



Thanks,

Premkumar M.

Martin Gonzalez

unread,
Feb 12, 2015, 11:55:40 AM2/12/15
to nod...@googlegroups.com

Check out https://www.npmjs.com/package/continuation-local-storage


--
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/a0379c08-1c38-42d6-92f0-2d35f110b170%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages