Tim, 

out of curiosity what version of CF are you using? 

I had a similar mind-loosing experience recently, though the structs
were disappearing only when I was trying to retrieve an array of
structs. When just getting a struct, the data came through; when
getting only an array, the data came through. (I'm on CF 7, btw)

I still haven't debugged the problem I was having. 

d

On 4/26/05, Tim Blair <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I'm slowly going crazy here.  I'm trying to make a simple RemoteObject
> call to a ColdFusion CFC using Flash Remoting.  Nothing exciting -- pass
> a couple of vars, get a structure containing user data back.
> 
> Whenever I try and return a type of struct (and only struct, as far as I
> can see) from the CFC, things go a little strange and I don't get the
> results I expect back (an object containing thye keys: sessionid, userid
> and valid).  In the net conection debugger I get back the following,
> which looks correct to me:
> 
> DebugId: 0
> EventType: "Result"
> MovieUrl: "http://localhost:8888/flex/test.mxml.swf";
> Protocol: "http"
> Source: "Client"
> Time: 1114533397451
> Date (object #1)
> ....."Tue Apr 26 17:36:37 GMT+0100 2005"
> Result (object #2)
> .....SESSIONID: "7F3D91BB-8A11-29EE-1B5963898741A372"
> .....USERID: 1
> .....VALID: "TRUE"
> 
> However, the network monitor only shows this:
> 
> [array] : 
>     length[Number] : 0
> 
> From some further poking, when checking the return data, event.result is
> undefined;  the private member data __result *does* contain the correct
> data, but I can't access this using event.result.
> 
> Does anyone have an idea what's going on here?
> 
> Thanks,
> 
> Tim.
> 
> --
> -------------------------------------------------------
> Badpen Tech - CF and web-tech: http://tech.badpen.com/
> -------------------------------------------------------
>     RAWNET LTD - independent digital media agency
>     "We are big, we are funny and we are clever!"
>      New site launched at http://www.rawnet.com/
> -------------------------------------------------------
> This message may contain information which is legally
> privileged and/or confidential.  If you are not the
> intended recipient, you are hereby notified that any
> unauthorised disclosure, copying, distribution or use
> of this information is strictly prohibited. Such
> notification notwithstanding, any comments, opinions,
> information or conclusions expressed in this message
> are those of the originator, not of rawnet limited,
> unless otherwise explicitly and independently indicated
> by an authorised representative of rawnet limited.
> -------------------------------------------------------
> 
> ________________________________
> Yahoo! Groups Links
> 
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/flexcoders/
>   
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>   
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


-- 
----------------------------------
David Aden
Webworld Technologies


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> 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/
 



Reply via email to