Returns a value associated with the
cookie_name in the
Set-Cookie header contained in the HTTP response indicated by
where. An unset value is returned if cookie is not found or on error. In the
vcl_fetch method, the
beresp response is available. In
resp response is available.
If multiple cookies of the same name are present in the response, the value of the last one will be returned.
When this function does not have enough memory to succeed, the request is failed.
This function conforms to RFC6265.
STRING setcookie.get_value_by_name(ID where, STRING cookie_name)
1 set resp.http.MyValue = setcookie.get_value_by_name(resp, "myvalue");