On 14/05/2010 11:37, Pedro Rodrigo Cardiel wrote: > El vie, 14-05-2010 a las 12:26 +0200, Mikolaj Rydzewski escribió: > >> Pedro Rodrigo Cardiel wrote: >> Since you have a servlet you have dynamic, not static content. >> Use response.getSession() to create one. >> > > > Ok thanks. > > Is there any way to create a session when an image is requested so that > the balancer will always send the same machine?
What handles the image request? If it's a Servlet, then you can do the same thing. Alternatively you could employ a Servlet Filter which applies to the whole application and forces creation of a session. p
signature.asc
Description: OpenPGP digital signature