- see footer for list info -<
could always use wddx to pass the strct in a form, or you could write to a database witht he values and then send though an id of some description to the next page so you can pull these details from the databbase.


RichL wrote:
- see footer for list info -<

hmmm.. session management is switched off for the entire site.... not sure what to do? (not my place to change this)

On 9/21/05, Snake <[EMAIL PROTECTED]> wrote:
yep.

------------------------------
*From:* RichL [mailto:[EMAIL PROTECTED] *Sent:* 21 September 2005 14:40
*To:* Snake
*Cc:* Coldfusion Development *Subject:* Re: [CF-Dev] Complex Vars between pages

Do I need to use the Duplicate() function because i have nested array/struct/arrays/structs?

On 9/21/05, Snake <[EMAIL PROTECTED]> wrote:
That's because your just making a reference to the original structure, which is not persistent and thus does not exist on page2, you need to actually
copy the structure to the session scope.

Russ

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto: [EMAIL PROTECTED] On Behalf Of RichL
Sent: 21 September 2005 14:27
To: cfdev
Subject: Re: [CF-Dev] Complex Vars between pages


- see footer for list info -<

hmm that hasn't worked I tried the following
page 1:

<cfset sTest = structnew()>
<Cfset sTest.firstname = "richard">
<Cfset sTest.lastname = "lk">
<Cfset sTest.age = 28>

<cfdump var="#stest#"> <!--- shows ok --->

<cfset session.sTest2 = stest>

<cfdump var="#session.stest2#"> <!--- shows ok --->

<a href="test2.cfm ">Test2</a>


----------------------------------------------------------------------------
-------------

Page 2 (test.cfm)

hello world

<cfdump var="#session#"> <!--- throws error about not being defined --->

*"Element STEST2 is undefined in SESSION"*

??????


On 9/21/05, Simon Baynes <[EMAIL PROTECTED]> wrote:

If you save your variable in session scope you can eference it in the next page no problem.


On 9/21/05, RichL <[EMAIL PROTECTED]> wrote:

- see footer for list info -<

Hiya
Could somebody outline the options for passing complex variables between pages please.
I have an struct in and array in a struct in an array !
Does it need to be passed via a form submission in a particular
scope or

is

there a scope that I can store it in where I can simply link to another

page

and have that complex variable available?
I am working within a fusebox-ish structure where most things are

generally

rescoped in to the attributes scope where possible. thanks for your help

--
Rich
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to

http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-

- Hosting provided by www.cfmxhosting.co.uk <http://www.cfmxhosting.co.uk/><

http://www.cfmxhosting.co.uk>-<

- Forum provided by www.fusetalk.com <http://www.fusetalk.com/> <

http://www.fusetalk.com> -<

- DHTML Menus provided by www.APYCOM.com <http://www.apycom.com/> <http://www.APYCOM.com<http://www.apycom.com/>>

-<

- Lists hosted by www.Gradwell.com <http://www.gradwell.com/> <

http://www.Gradwell.com <http://www.gradwell.com/>> -<

- CFdeveloper is run by Russ Michaels, feel free to volunteer your help

-<


--
Simon Baynes
www.simonbaynes.com <http://www.simonbaynes.com/> <http://www.simonbaynes.com




--
Rich
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-

- Hosting provided by www.cfmxhosting.co.uk<http://www.cfmxhosting.co.uk/>-<
- Forum provided by www.fusetalk.com <http://www.fusetalk.com/> -<
- DHTML Menus provided by www.APYCOM.com <http://www.apycom.com/> -<
- Lists hosted by www.Gradwell.com <http://www.gradwell.com/> -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help

-<




--
Rich





                
___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to