<cfif cgi.HTTP_REFERER IS NOT ""> cgi variable exists <cfelse> cgi variable does not exist </cfif>
<cfoutput>#CGI.HTTP_REFERER#</cfoutput> However I am not getting anything back in the cgi variable. Any comments appreciated. Rick Colman Just to eliminate any other kind of white space characters, I usually do a trim on anything I'm trying to compare to an empty string. <cfif trim(cgi.HTTP_REFERER) EQ ""> I also usually try to phrase this as a binary comparison. <cfif len(trim(cgi.HTTP_REFERER))> -------------- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA --------- | 1 | | --------- Binary Soduko | | | --------- "C code. C code run. Run code run. Please!" - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236468 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54