Ok.... I did a little research.  I found that strings are passed by value to
functions.  When you set a variable equal to another string, you're actually
setting it equal to a copy of the string.  When you do the Duplicate()
function, you actually try to dereference the CFCATCH variable (which is a
scalar variable) hence, the error.  Try setting dumpInfo = CFCATCH and not a
duplicate.

This may be something with the way java handles the duplicate function and
may not degrade gracefully anymore.

Hope I was able to help in some way (keep in mind I am stuck using CF4.0
still)

Rob Edwards                     Phone:  (502) 359-1627
Systems Management Tools   Pager:       (502) 478-1116
United Parcel Service           Fax:    (502) 359-0094
EMail:  [EMAIL PROTECTED]       

(2B || !2B) == ?


-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 4:21 PM
To: CF-Talk
Subject: RE: CFMX error - again!!


There is no issue w/ & in strings in CFMX.

<cfset foo = "Ray & Camden">

=======================================================================
Raymond Camden, ColdFusion Jedi Master for Hire

Email    : [EMAIL PROTECTED]
Yahoo IM : cfjedimaster

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: Gyrus [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, August 13, 2002 4:22 PM
> To: CF-Talk
> Subject: Re: CFMX error - again!!
> 
> 
> > I don't have MX, but if I remember my java right, it has to 
> do with the
> > 50 :    <cfset request.msgString="&msg=DBError">
> >
> > the & symbol dereferences a pointer reference.  In this 
> case, you are
> > dereferencing a string variable.
> >
> > Maybe try changing the & to a +?
> 
> request.msgString is appended to a URL - that & needs to be 
> there for the
> URL to work.
> 
> Can we not have ampersands in CFMX strings?! Is there an 
> escape code, as per
> HTML character entities?
> 
> - Gyrus
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> - [EMAIL PROTECTED]
> work: http://www.tengai.co.uk
> play: http://www.norlonto.net
> - PGP key available
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to