without seeing the context of the code, it appears to be holding values that may be used for 'tracking' the user on the site. What is the error that you are receiving from it?
---------- William E. Seiter On Feb 10, 2010, Glyn Jackson <[email protected]> wrote: I have been asked to looked as some code within this page is below. I have no idea what its doing however I was told its needed but keeps giving me errors. is your opinion why does this exists? <cfparam name="referer_itemID" default="0"> <cfparam name="referer_popupID" default="0"> <cfif len(cgi.HTTP_REFERER)> <!--- Item ID ---> <cfset begin_itemID = find("item_id:",cgi.HTTP_REFERER) + 8 /> <cfif begin_itemID> <cfset end_itemID = find("/",cgi.HTTP_REFERER,begin_itemID) /> <cfset referer_itemID = mid(cgi.HTTP_REFERER,begin_itemID,end_itemID-begin_itemID) /> </cfif> <!--- MP ID ---> <cfset begin_mpID = find("mp_id:",cgi.HTTP_REFERER) + 6 /> <cfif begin_mpID> <cfset end_mpID = find("/",cgi.HTTP_REFERER,begin_mpID) /> <cfset referer_popupID = mid(cgi.HTTP_REFERER,begin_mpID,end_mpID-begin_mpID) /> </cfif> <cfif not isNumeric(referer_itemID)> <cfset referer_itemID = 0 /> </cfif> <cfif not isNumeric(referer_popupID)> <cfset referer_popupID = 0 /> </cfif> <cfparam name="livewireLaunch" default="0"> <cfif livewireLaunch> <cfset referer_itemID = -1 /> </cfif> </cfif> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330535 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

