onaled777
asked on
CGI.SCRIPT_NAME not returning anticipated results
I am looking for some possible reasons that CGI.SCRIPT_NAME would return some unexpected results. For some reason a page in my code with URL http://sports.soccer.pele.com/index.cfm?fuse=managelp keeps processing as if the CGI.SCRIPT_NAME contained the string 'Services'.
The conditional logic that is executed when the CGI.SCRIPT_NAME CONTAINS that string is attached below. In my applicaiton, it is found in the 'application.cfm' file.
Thanks for any help you can provide on this one.
The conditional logic that is executed when the CGI.SCRIPT_NAME CONTAINS that string is attached below. In my applicaiton, it is found in the 'application.cfm' file.
Thanks for any help you can provide on this one.
<cfif CGI.SCRIPT_NAME CONTAINS "/services/">
<cfset session.userInfo.USERNAME = "sv">
<cfset session.userInfo.FULLNAME = "Services">
<cfset session.userInfo.USERID = 1>
<cfset session.userInfo.LOGGEDIN = true>
</cfif>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.