Welcome! Log In Create A New Profile

Advanced

Re: set $cookie_abc "$cookie_abc";

February 11, 2013 01:07PM
The variable $cookie_abc will exist only if the client request cookie has "abc". In my case the first request won't have this cookie set and I am setting this value for some magic.

Lua module is very this on this feature. If we do not have the variable defined you should set it before using.

set $cookie_abc "$cookie_abc"

If the above works as expected I am good.

Regards
Amod
SubjectAuthorPosted

set $cookie_abc "$cookie_abc";

amodpandeyFebruary 11, 2013 04:49AM

Re: set $cookie_abc "$cookie_abc";

Ruslan ErmilovFebruary 11, 2013 05:14AM

Re: set $cookie_abc "$cookie_abc";

amodpandeyFebruary 11, 2013 08:41AM

Re: set $cookie_abc "$cookie_abc";

Valentin V. BartenevFebruary 11, 2013 11:06AM

Re: set $cookie_abc "$cookie_abc";

amodpandeyFebruary 11, 2013 01:07PM

Re: set $cookie_abc "$cookie_abc";

Valentin V. BartenevFebruary 11, 2013 01:18PM

Re: set $cookie_abc "$cookie_abc";

amodpandeyFebruary 11, 2013 01:21PM

Re: set $cookie_abc "$cookie_abc";

dbradfieldFebruary 11, 2013 01:54PM

Re: set $cookie_abc "$cookie_abc";

agentzhFebruary 11, 2013 02:48PM

Re: set $cookie_abc "$cookie_abc";

amodpandeyFebruary 11, 2013 10:21PM

Re: set $cookie_abc "$cookie_abc";

agentzhFebruary 12, 2013 02:58PM

Re: set $cookie_abc "$cookie_abc";

António P. P. AlmeidaFebruary 12, 2013 04:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 126
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready