add_header Set-Cookie: $arg_PARAMETER yields: [emerg] 32049#0: unknown "arg_parameter" variable

David Taveras d3taveras38d3 at gmail.com
Wed Sep 16 21:29:50 MSD 2009


Hello all,

Iam trying to create a cookie globally based on a QUERY string var... for
this Iam doing:

add_header   Set-Cookie: $arg_PARAMETER;

When nginx is started it fails and errors: [emerg] 32049#0: unknown
"arg_parameter" variable

How could I accomplish what Iam trying? (yes this needs to be done on a
server level and not on an application level).

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090916/b60032d2/attachment.html>


More information about the nginx mailing list