how are you displaying it when the \ are appearing doubled? (something like a js alert, or a cfoutput to an html page, or some other mechanism?)
On Wed, Mar 13, 2013 at 10:08 PM, Rick Faircloth <[email protected]>wrote: > > If I use this on a test page: > > <cfoutput>#application.temp_images_directory#</cfoutput> > > it comes out fine: e:\inetpub\webroot\tempImages > > I just don't see why (or how) it could be happening. > > Thanks for the feedback! > > Rick > > -----Original Message----- > From: Jerry Milo Johnson [mailto:[email protected]] > Sent: Wednesday, March 13, 2013 9:34 PM > To: cf-talk > Subject: Re: Why is this happening?????? > > > what happens if you display the value INSIDE the cfc before you return it? > what happens if you set the same variable OUTSIDE the cfc and display it? > > > On Wed, Mar 13, 2013 at 9:23 PM, Rick Faircloth <[email protected] > >wrote: > > > > > This has been driving me crazy for two days and I GIVE UP! AHH! > > > > > > If I create this variable in application.cfc: > > > > <cfset application.temp_images_directory = > 'e:\inetpub\webroot\tempImages' > > /> > > > > > > and use it in news.cfc like this: > > > > <cfset saveNewsItemStruct = structNew()> > > > > <cfset saveNewsItemStruct.ATID = '#application.temp_images_directory#' /> > > > > > > why in the WORLD would I get this: > > > > e:\\inetpub\\webroot\\tempImages > > > > > > when I return the struct and display saveNewsItemsStruct.ATID????? > > > > Why are the path lines doubling? > > > > > > I don't think I've seen this in 15 years of CF programming! > > > > (I'm getting too old for all this aggravation...) > > > > Thanks for any help! > > > > Rick > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:355002 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

