Link to home
Start Free TrialLog in
Avatar of bluskyGuy
bluskyGuy

asked on

cgi.http_referer not working correctly

hi all,
running into a problem with the cgi.http_referer reference...seems as though it's not working correctly. You see what could possibly be wrong with the following syntax?

<cfif #cgi.HTTP_REFERER#  eq"http://www.domain.com/domain/browse.cfm?gender=Mens&category=Nutrition&clear=0&counter=1" OR #cgi.HTTP_REFERER#  eq"http://www.domain.com/domain/browse.cfm?gender=Womens&category=Nutrition&clear=0&counter=1"><cfelse><img src="http://www.domain.com/domain/admin/website/pic/#vendor.thumbnail#"></cfif>

any ideas why this wouldn't be working? All i get is the cfelse image displaying...doesn't seem to be taking into account cgi.http_referer.

Thanks,
Rick
ASKER CERTIFIED SOLUTION
Avatar of pinaldave
pinaldave
Flag of India 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
Also there is chance that your cgi.http_referer is not displaying the current information just try to output first and see if that has the same value as you are trying to compare using <cfdump var="#cgi.http_referer#">

Regards,
---Pinal