Hi Erik, Thanks for reply. This thing is still not clear. For dynamic html session, are you saying that all the subsequent requests ( after the first request ) will be directed to a particular backend which may be different then the backend serving the original request( the first request, when cookie was not set) or ALL the requests will be directed to the same backend?
On Wed, Sep 14, 2011 at 12:31 PM, Erik Hensema / HostingXS < [email protected]> wrote: > On woensdag 14 september 2011 08:32:30 Mohit Gupta wrote: > > Hi All, > > When using pound with cookie sessions, what is the behavior of pound when > > the required cookie ( based on which urls have to be redirected) is not > > set? If it is done randomly, how can we ensure that the subsequent > requests > > go to the server which processed the original request? > > It doesn't matter. If there's no cookie, there's no way for the web > application to track the session. Therefore subsequent requests are treated > by > the application as unrelated. So, pound can just choose a random backend. > > When a session needs to be tracked, a cookie is set and subsequent requests > are routed to the same backend. > > Think of it as requests for images, css, javascript: it doesn't matter what > backend handles them, because the response will be the same on all > backends. > When serving dynamic html, the application sets a session cookie causing > pound > to direct all requests to the same backend. > > -- > Met vriendelijke groet, > > > Erik Hensema > -- > HostingXS B.V. > eXcellent Service > > Support: [email protected] > Algemeen: [email protected] > Administratie: [email protected] > > Telefoon: 024 - 324 91 77 > Fax: 024 - 324 91 76 > > Post adres: > Postbus 5 > 6500 AA te Nijmegen > > Website: http://www.hostingxs.nl > Twitter: http://twitter.com/HostingXS > > -- > To unsubscribe send an email with subject unsubscribe to [email protected]. > Please contact [email protected] for questions. > -- Best Regards, Mohit Gupta Software Engineer at Vdopia Inc.
