hapijs / yar

A hapi session manager
Other
133 stars 59 forks source link

request question #96

Closed xycloud closed 8 years ago

xycloud commented 8 years ago

if i set request.yar.set('user', {'a': 'b'}); is that mean every request(from different client) use the same user? isn't each request namespace individual?

mark-bradshaw commented 8 years ago

Each request from a different origin gets a different session. If you do set the same data on each user, each user will get a separate session, but each containing the same data.

lock[bot] commented 4 years ago

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.