Re: [squid-users] Re: squid reverse proxy caching session id?

From: solidzh <solidzh@dont-contact.us>
Date: Tue, 21 Aug 2007 15:43:21 +0800

2007/8/21, Oliver Schoett <os@sdm.de>:
> Amos Jeffries wrote:
> > With squid its better to pass [the session id] as a cookie (which apparently gets
> > stripped from any cached objects).
> >
>
> Not so sure about that. If you use URL rewriting, an URL like
>
> http://x.y/app/showUserProfile;jsessionid=NNNN
>
> works fine for several users, because they are distinguished by their
> jsessionid. If the jsessionid is passed in a cookie instead, all users
> fetch the same URL
>
> http://x.y/app/showUserProfile
>
> and might end up seeing each other's profiles when squid caches this URL.
>

How to avoid squid cache this url which come with cookid?thanks.
Received on Tue Aug 21 2007 - 01:43:25 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT