I got that, but how do I call the other frame as a read only and then pull
the data back to the first frame to report back to the caller.



-----Original Message-----
From: Dan Haley [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 09, 2002 6:04 PM
To: CF-Talk
Subject: RE: Callling Client or Session varibles from a javascript


Sounds like you've got the Javascript figured out pretty well, so the
following should give you an idea of how to get it back ... this is from
CF4.5, not sure how things have changed ... tried to find the WDDX
serializer and deserializer JS objects out on the web and most of the links
were broken ...

<cfset x = structnew()>
<cfset x.myvar = 8>
<cfwddx action="CFML2JS" input="#x#" output="y" toplevelvariable="z">
<script language="javascript">
<cfoutput>#y#</cfoutput>
</script>

Dan

-----Original Message-----
From: Matthew Friedman [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 09, 2002 3:01 PM
To: CF-Talk
Subject: Callling Client or Session varibles from a javascript


I have a need to read and set client or session variable from javascipt.

I am working on a project that has to intergrate content that uses a
standard set of calls to an api to send and recieve data.

I have set up the system to use a frame with the API name to recieve the
calls and I can catch request and send them back to the object calling, but
I need the ablity to call and update client or session variabled.

Setting the varibles is easy, I set up another frame and the first frame
calls the second frame that runs cf code to process the request.

The question is how do I retrieve "get" client varible information back from
the second frame to return back to the object.

Any help would be great.

Matt





______________________________________________________________________
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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to