Setting a cookie through dispatcher
I am trying to set a cookie through dispatcher and I using the below header
Header set Set-Cookie "currentCountryNames=Indian; path=/"
It works fine with static value, but I need to get the dynamic value through CDN(cloudfront) by using header HTTP:CLOUDFRONT-VIEWER-COUNTRY-NAME .
I tried this then
Header set Set-Cookie "currentCountryName=%{HTTP:CLOUDFRONT-VIEWER-COUNTRY-NAME}; Path=/"
but it did not worked it is giving syntax error
Unrecognized header format %;

