Hi All,
I'm sorry if I am asking the same question again. Let me state the problem
in more explanatory words.
I am using sessions based on a cookie value. This cookie is set very first
time the user comes to the site.
So, say a new user comes to the site. His cookie value won't be set. So,
pound sends it to a random backend A. Then, this backend sets some
persistent value X to that cookie. Now, the subsequent requests from this
user will contain the cookie value set to X. So, when these requests come to
pound, it will send them to a backend B based upon the cookie value X. Now,
it is very much possible that backends A and B are different. ( A - randomly
chosen and B -> chosen based upon the key X ).

So, am I right in saying that when using cookie sessions, all requests
EXCEPT THE FIRST ONE ( when the cookie is not set) will go to the same
backend? If this is the case, it can lead to some obvious session problems
and how should we take care of them and if not, please explain why.

-- 
Best Regards,

Mohit Gupta
Software Engineer at Vdopia Inc.

Reply via email to