> SERVER_PROTOCOL is a standard CGI environment variable which can be used
to
> determined whether the request is over HTTPS.

oops, that should have been SERVER_PORT, afaik, this is about all you can rely on and that assumes you know the ports which are secure.


Damn, I should just keep my mouth shut when I'm distracted by a rebooting server and preparations for a presentation. Sorry.


how does it go...  "The best thing abuot the standard environment is that
there are just soooo many to choose from."

isn't there just one CGI standard when you get down to the nuts 'n' bolts of it?



yes, many of the cgi variables set by web servers these days are never
mentioned in the relevent RFCs other than implied capability ;-)

Vendor implementations extend the CGI standard (and some don't quite implement the standard correctly - IIS and PATH_INFO!). SERVER_PORT is about the only environment variable you can rely on to determine whether the request is secure (though, I would check for 443 rather than 80).




cheers.



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to