Welcome! Log In Create A New Profile

Advanced

Re: nginScript and accessing cookies

April 13, 2017 03:54PM
Okay, I've found the answer to my question.

nginScript supports access to all of NGINX's variables. This also provides access to the cookie like so:

myfunction(req, res) {
var cookie = req.variables.http_cookie;
}

Kind regards

Andreas
Subject Author Posted

nginScript and accessing cookies

Unsay Mono via nginx April 09, 2017 06:46PM

Re: nginScript and accessing cookies

jeffdyke April 09, 2017 10:02PM

Re: nginScript and accessing cookies

Unsay April 13, 2017 03:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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