Welcome! Log In Create A New Profile

Advanced

Re: how to clear a cookie value in request object

Maxim Dounin
November 04, 2013 04:58PM
Hello!

On Sat, Nov 02, 2013 at 11:04:30AM -0700, Mike Ellery wrote:

[...]

> > Proper solution would be to provide a new value for the Cookie
> > header in a variable (taking into account multiple cookies in a
> > single header), and then use
> >
> > proxy_set_header Cookie $your_new_cookie_value;
> >
> > in configuration, much like with the $proxy_add_x_forwarded_for
> > variable as available for X-Forwarded-For header modification.
> >
> > --
> > Maxim Dounin
> > http://nginx.org/en/donation.html
> >
> >
>
> Maxim,
>
> Thanks for your helpful response. Is there a predefined variable that
> I can use to store my modified cookie value or will I just need to
> create a new custom variable value?

You have to create your custom variable.

--
Maxim Dounin
http://nginx.org/en/donation.html

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

how to clear a cookie value in request object

Michael Ellery 868 November 01, 2013 12:42PM

Re: how to clear a cookie value in request object

Maxim Dounin 352 November 01, 2013 07:42PM

Re: how to clear a cookie value in request object

Mike Ellery 775 November 02, 2013 02:06PM

Re: how to clear a cookie value in request object

Maxim Dounin 483 November 04, 2013 04:58PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 183
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