> Why not use <cflocation /> > http://livedocs.adobe. > com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp. > htm?context=ColdFusion_Documentation&file=00000284.htm#wp1100753 > > On Tue, Jan 25, 2011 at 2:34 PM, Eric Vineyard <eric.vineyard@hotmail. > com>wrote: > > > > > Hi, I'm trying to implement custom tags into a website I'm working > with, > > but I'm not having much success with one in particular, > "cf_location". > > > > I'm using the 2.0.1 hosted on Adobe's website. The CF server I'm > running is > > CF7, and I'm using a designated sub directory listed in the > coldfusion admin > > as my custom tags folder. > > > > Whenever I try to call <cf_location url='blah.cfm' /> It > automatically > > redirects to "http:/'servername'.com/foo". What am I doing wrong > here? > > > > Because the website that I'm working with has thousands of <cflocation>'s. My entire reason for using <cf_location> was so that I wouldn't have the annoying, and highly unneccessary "cftoken" in my urls. It's much easier to just simply use a custom tag that defaults to "no" than to Find and Replace every single tag with "addToken="no". I'm also trying to use customtags as somewhat of a learning experience since I've not dealt with them much. I don't really consider myself to be a novice with CF, but I'm also not an expert.
I have a different customtag that works perfectly fine, but the cf_location does not. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341186 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm