Welcome! Log In Create A New Profile

Advanced

Re: Cannot log a cookie with a dash in the name

Valentin V. Bartenev
March 12, 2012 07:12PM
On Tuesday 13 March 2012 00:57:17 Valentin V. Bartenev wrote:
[...]
>
> The map module may help:
>
> map $http_cookie $member_cookie {
> default NONE;
> ^Member-v1\.0=(?P<mc>[^;]+) $mc;
> }
>

Oops.. must be:

map $http_cookie $member_cookie {
default '';
~Member-v1\.0=(?P<mc>[^;]+) $mc;
}

wbr, Valentin V. Bartenev

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Cannot log a cookie with a dash in the name

Hates_ March 12, 2012 02:38PM

Re: Cannot log a cookie with a dash in the name

Ruslan Ermilov March 12, 2012 04:42PM

Re: Cannot log a cookie with a dash in the name

Valentin V. Bartenev March 12, 2012 05:00PM

Re: Cannot log a cookie with a dash in the name

Valentin V. Bartenev March 12, 2012 07:12PM

Re: Cannot log a cookie with a dash in the name

Hates_ March 13, 2012 05:27AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 231
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready