Modifying ESI-requests based on original request's beresp

Søren Thing Andersen sta at netimage.dk
Wed Oct 12 16:20:20 CEST 2011


Hi.

I have a login-page with an ESI-block.

The login page issues a new session cookie so the original request's 
beresp contains a Set-Cookie header.
But the ESI-request to the server contains the OLD value of the cookie - 
or none at all if no cookie was present in the original request.

Is there a way to access the "parent" request in VCL when handling an 
ESI-request, so I can access the original beresp.http.Set-Cookie 
variable before making the ESI-request?

If not, can I do it with inline C?

Best regards
     Søren Thing.




More information about the varnish-misc mailing list