Logical variables

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

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

Cheers,

Steve

On Fri, Mar 14, 2014 at 06:00:48PM +1300, Steve H. 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.

http://www.fastcgi.com/devkit/doc/fcgi-spec.html#S5.2

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.

Cheers,

f

Francis D. [email protected]