Re: How do I carry an Array over to another page? - HELP!!!!

2000-04-23 Thread Brandon Whitaker

Pop the array into a Structure, serialize the structure with CFWDDX and
pass
the WDDX packet to your next page.  Then deserialize the WDDXPacket on the
next page and voila.  You have your array.

But whatever you do, don't do as I did the first time I fiddled with WDDX,
and attempt to pass it as a URL variable. :)

Brandon Whitaker
[EMAIL PROTECTED]
---
"It'll get used by the same people using Opera.  People dressed in black
wearing berets."
- Dave Watts, on Mozilla
"The net interprets censorship as damage and routes around it."
- John Gilmore


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: How do I carry an Array over to another page? - HELP!!!!

2000-04-20 Thread Jordon Saardchit

Pop the array into a Structure, serialize the structure with CFWDDX and pass
the WDDX packet to your next page.  Then deserialize the WDDXPacket on the
next page and voila.  You have your array.

-Jordon

-Original Message-
From: Larry Juncker [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 20, 2000 8:42 AM
To: CF-Talk
Subject: How do I carry an Array over to another page? - HELP


I have created the shipping methods for line items in Able Commerce Builder
and am trying to carry my array over to my next page.  Any ideas on what I
need to do?


CFIF Company.ShipClass is not "c"   !--- Lookup the shipping method and
setup the shippingtemp table ---
CFIF  #cgi.REMOTE_ADDR# EQ "209.234.84.35"
OR #cgi.REMOTE_ADDR# EQ "216.119.11.156"

CFINCLUDE TEMPLATE="#Root#/basket/_LIMethod.cfm"

CFELSE
CFINCLUDE TEMPLATE="#Root#/basket/_method.cfm"
/CFIF

When I come back from this Include, I can still see the array by telling it
to CFOUTPUT#Shipping_Cost_Array[1][1] for instance.  However when I go to
the next template.  It tells me the folowing error:

Error resolving parameter SHIPPING_COST_ARRAY

ColdFusion was unable to determine the value of the parameter. This problem
is very likely due to the fact that either:

You have misspelled the parameter name, or
You have not specified a QUERY attribute for a CFOUTPUT, CFMAIL, or CFTABLE
tag.

The error occurred while evaluating the expression:


#Shipping_Cost_Array[1][1]#

Any help on this would be greatly appreciated.


H   Larry Juncker
 L  Senior Cold Fusion Programmer
  I Heartland Communications Group
  Internet Division


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.