> I'm trying to pass complex data (structure in particular), 
> using cflocation, but I'm not able to.  The example is like this:
> 
> <cflocation url="template.cfm?stMemberData=#stMemberInfo#">
> 
> The error I'm getting is saying that I can only pass simple data with
> cflocation. I need to pass complex data. Is this possible to do?

The problem is that you're trying to pass something that can't directly be
represented as a string (a structure) within a URL string, as if you could
type a structure in your browser location field. You could conceivably
convert your structure to a WDDX packet, then use the URLEncodedFormat
function to allow the WDDX packet to be placed in the URL, but it may very
well get truncated if you have too much data in it.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to