Link to home
Start Free TrialLog in
Avatar of onaled777
onaled777Flag for United States of America

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.


<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>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of _agx_
_agx_
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial