In message <[EMAIL PROTECTED]>, admin writes:

>2) Cook up some VCL code to cache pages on a per-session basis, by
>appending the req.http.Cookie value to the URL before it is stored in
>the cache, and then doing the same thing when looking up the cache. VCL
>does not easily allow this to happen though ???? Correct me if I am wrong.

Actually, we just added a facility to do this:

        vcl_hash {
                req.hash += req.http.cookie;
        }

It will (not yet) do the right thing if there are multiple cookie
header lines, but that is in the works.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to