if instr(LCase(Request.ServerVariables("HTTP_HOST")),"corpwebdev") > 0 or instr(LCase(Request.ServerVariables("HTTP_HOST")),"_train") > 0 then cnOracle.Open "PROVIDER=MSDAORA;DATA SOURCE=TestDB;USER ID=DBuser;PASSWORD=DBuser" else cnOracle.Open "PROVIDER=MSDAORA;DATA SOURCE=ProdDB;USER ID=DBuser;PASSWORD=DBuser" end if
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)