Welcome! Log In Create A New Profile

Advanced

Cookie renaming per server

October 25, 2017 01:07PM
I am looking for a way to rename a cookie in a Set-Cookie header on a per-server basis.

Each server that I'm proxying generates a "Set-Cookie: sessionid=xxxxxx" header. I would like to create some sort of rule that would rename that cookie "sessionid_xyz=xxxxxx" when sending to the client, then rename it back to session_id when sending back to the proxy_pass location

Is this possible given the standard set of plugins? or will I have to write a completely new plugin to pull this off?

Any help would be greatly appreciated.

Thanks!
Subject Author Posted

Cookie renaming per server

jlange October 25, 2017 01:07PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 80
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready