For that matter (and I know this is a bit off the original point), cgi.jimmyhoffa will always exist. The cgi scope is really funny that way, everything exists there.
--Ferg Charlie Griefer wrote: > what is the result of the conditional? > > the variable will always exist. there should (i believe) always be a > key in the CGI scope (struct) for cgi.http_referer. However, the > value of that key could be an empty string (if the user bookmarked the > page, typed it in manually, etc). > > > On 3/29/06, Richard Colman <[EMAIL PROTECTED]> wrote: > >> I am trying to get this to work, and the simple test case is: >> >> >> <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 >> >> >> >> >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236480 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

