Hey,
ramesh laxmisetti <[email protected]> writes:
> In my application i am using RedisStore for storing session. using below
> code
>
> app.use(express.session({ store: new RedisStore({host:'system ip address',
> port:6379, prefix:'chs-sess'}), secret: 'lolcat', key : "sid" }));
>
>
> but I can't understand below things
>
> 1. where this value stored(means either it is storing in redis or some
> where else)
Redis. In a key starting with "chs-sess:". Login to redis with redis-cli
and type 'KEYS *' to see it.
> 2. If the value store in redis how to fetch the value from RedisStore
Get stuff back out of `req.session` in a handler.
Cheers,
Phil
--
Apiaxle http://apiaxle.com - A free, open proxy for your API.
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.