Eyad -

You use a session facade to accomplish this. The CFC you call has
knowledge of the session scope, and can access any objects (such as a
shopping cart) there, and return information to Flash. Flash Remoting
does use ColdFusion session management (provided you have it turned on
in your application.cfm/cfc) but Flash knows nothing about it (and why
should it? It has enough to deal with :))

Check out Brian Kotek's shopping cart example for a good example of
using a session facade:
http://www.briankotek.com/index.cfm?fuseaction=content.viewcontentitem&contentid=47

On Mar 30, 2005 2:42 AM, Eyad Makhoul <[EMAIL PROTECTED]> wrote:
> Dear All,
> 
> Is there a method to call a CFC which is built in coldfusion page and stored
> in a session from flash remoting? (session management through Flash
> remoting).
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Nando
> Sent: Tuesday, March 29, 2005 6:32 PM
> To: [email protected]
> Subject: RE: [CFCDev] Application.cfc [more questions]
> 
> They are redirected back to the home page, and whatever functions are
> available to the logged in user disappear from the screen.
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Dawson, Michael
> Sent: Tuesday, March 29, 2005 6:08 PM
> To: [email protected]
> Subject: RE: [CFCDev] Application.cfc [more questions]
> 
> Nando, if their session times-out, but their browser is still open, are
> they still considered to be signed-in or do you send them to a login
> form?
> 
> Just curious...
> 
> M!ke
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Nando
> Sent: Tuesday, March 29, 2005 9:57 AM
> To: [email protected]
> Subject: RE: [CFCDev] Application.cfc [more questions]
> 
> To be a little more precise ... I need to regenerate a data structure
> when a user's session ends, whether they explicitly log out or close the
> browser while logged in or let their session time out. I can deal with
> it easily if they explicitly log out, but the other 2 scenarios are more
> difficult to manage, and onSessionEnd seems to be perfect for that.
> 
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email to
> [email protected] with the words 'unsubscribe cfcdev' as the subject of the
> email.
> 
> CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
> (www.cfxhosting.com).
> 
> An archive of the CFCDev list is available at
> www.mail-archive.com/[email protected]
> 
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email to
> [email protected] with the words 'unsubscribe cfcdev' as the subject of the
> email.
> 
> CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
> (www.cfxhosting.com).
> 
> An archive of the CFCDev list is available at
> www.mail-archive.com/[email protected]
> 
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email to 
> [email protected] with the words 'unsubscribe cfcdev' as the subject of the 
> email.
> 
> CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
> (www.cfxhosting.com).
> 
> An archive of the CFCDev list is available at
> www.mail-archive.com/[email protected]
> 
> 


-- 
It's a metaphor for life itself. For that matter, everything in life
is a metaphor for life. Except life. Life is probably a metaphor for
metaphor. -- James Lileks


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]


Reply via email to