depends on what you're trying to achieve. If you want to pass session variables to your flex app, use FlashVars If you want to change session variables you can call a cfm page, call a webservice or use remoting.
Here's an example of using flashvars to pass a cf variable to flex. <cfset topDomain = "http://" & CGI.SERVER_NAME & ":" & CGI.SERVER_PORT &"/" /> <cfoutput> <script language="JavaScript" type="text/javascript"> <!-- AC_FL_RunContent( "src", "ClientOrder", "width", "100%", "height", "100%", "align", "middle", "id", "ClientOrder", "quality", "high", "bgcolor", "##869ca7", "name", "ClientOrder", "flashvars", "topDomain=#topDomain#", "allowScriptAccess", "sameDomain", "type", "application/x-shockwave-flash", "pluginspage", "http://www.adobe.com/go/getflashplayer" ); // --> </script> </cfoutput> In the flex app you can then access topDomain like this: Application.application.parameters.topDomain); regards, Muzak ----- Original Message ----- From: "lrlarsonny" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Saturday, October 14, 2006 4:24 AM Subject: [flexcoders] Flex / CF Session Variables Hello --- I have a CF application that will include some Flex pages within it. Is there any way that the flex application can have access to the current CF session variable scope? Either it is obvious and I don't see it, or it isn't possible. I appreciate any help and patience with a naive question... Larry Larson NYC -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

