again cookies problem...

Monty Ree chulmin2 at hotmail.com
Fri Aug 24 12:06:39 CEST 2007


Hello, list.

I'm so sorry for bothering you.
I have met serious problem related cookies.
my varnish is 1.1.1.

If I don't set like this at vcl, the web site which using cookies, loading 
is too slow.

         if (req.request == "GET" && req.http.cookie) {
                 lookup;
         }
 
But, when I set like above, someone who visits the site, can see previous 
connected person information.

So I changed like below,

 if (req.request == "GET" && req.http.cookie && req.url ~ 
"\.(gif|jpg|swf|css|js)$") {
    lookup;
         }

After I set above, the problem which anyone can see others' information is 
solved.
But this config makes the site a bit slow too.
I don't know why.

There are lots of sites which using cookies there, so I don't know how to 
to.

So sorry for my unknowness. and please help me..


Thanks for your help in advance.

_________________________________________________________________
특별한 누군가를 찾고 싶다면 MSN 친구사귀기!  
http://match.kr.msn.com/channel/index.aspx?trackingid=1002127 




More information about the varnish-misc mailing list