browsers make requests in parallel for *one* user!
Meaning that all the cookies returned end up in the
same cookie store, as they do here.
A proxy servlet will make requests for different users
(browsers) and therefore has to maintain a different
state for each user. That state is typically associated
with the session between the browser and servlet.

I maintain a HttpState-Object for each Session the Servlet sees.


It's either that, or different state objects for each
session. But you can't just throw all cookies returned
for all users into a single state and expect the HTTP
client to figure out which cookie belongs to which
user.

Sorry, it seems we missunderstood each other. I never wanted to put all in one HttpState-Object. My intention was to maintain one "CookieBox" per Session and that's what i do with the HttpState-Objects at the moment.


Everything works fine now.
Thanks for your help.

Sven


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to