Author Login
Post Reply
On Sat, Jun 28, 2008 at 9:48 AM, Jeff Peng <peng.kyo@(protected):
> But I have a question, does nginx support for session-keeping?
> A user's request, should go always to the same original backend server.
> Otherwise the user's session will get lost.
I would advise you not to do this. It's a non-scalable design. If
you need to keep session data beyond what will fit in an encrypted
cookie, you'd be better off storing it in a shared database. That
way, if you lose one of your web servers, the session won't get lost.
- Perrin