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.

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to