period(.) is used in cokie name

Maxim Dounin mdounin at
Fri Mar 23 13:41:11 UTC 2012


On Fri, Mar 23, 2012 at 09:23:46AM -0400, Brian Akins wrote:

> On Mar 22, 2012, at 9:56 PM, chaepil lim wrote:
> > 
> > If possible, how can I use $cookie_COOKIE variable ?
> I think you can access those in embedded Lua or Perl.

Just vanilla map module should do the trick (if/set will do too, 
but map is better).

The link already provided in this thread contains if/set based 
solution.  Map-based solution will be similar (it's now possible 
as regexp support was added to map module).

Maxim Dounin

More information about the nginx mailing list