S.Siva
S.Siva

Reputation: 2091

Create CGI Custom Server variable in Coldfusion 2018

I'm using Coldfusion Builder 2018 and running a coldfusion application in local. This application was protected with SSO and the server is setting CGI variables in Dev/Prod. I want to override this CGI variable in my local server to run the application.

Can someone help me on how to override the CGI variable in local?

Upvotes: 0

Views: 291

Answers (1)

baynezy
baynezy

Reputation: 7066

I think your best bet is to create your own abstraction instead. So create a function / CFC that you get your variables from. Depending on environment you can get these from configuration (or something else), and in prod you can honour the CGI variables. I am not sure you can override CGI variables.

Upvotes: 1

Related Questions