logical variables

Francis Daly francis at daoine.org
Fri Mar 14 08:18:30 UTC 2014

On Fri, Mar 14, 2014 at 06:00:48PM +1300, Steve Holdoway wrote:

Hi there,

> If I pass a variable, set to true via a fastcgi_param, does it arrive as 
> a logical or string value?

That's a fastcgi thing.


It arrives as some bytes.

How you interpret it is up to you.

> If it's a string, is there a way to pass as a logical true/false?

What bytes do you want to represent logical true/false?

Send those bytes, and interpret them in your application.


Francis Daly        francis at daoine.org

More information about the nginx mailing list