Francis Daly
March 14, 2014 04:20AM
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.

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 Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

logical variables

GreenGecko March 14, 2014 01:02AM

Re: logical variables

Francis Daly March 14, 2014 04:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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