Jeremy

I was also thinking about this very thing with Flash remoting, and to be
honest, I thought it couldn't happen. I'm now lookig at a global flash var
to act as a session (logged on user)

eg: how can a unique ID (the session cookie) be passed back and forwards
when these are components that are created/destroyed?

I thought it was up to the calling code (CF, AS to handle this).

I'm happy to be wrong, people.

cheers
barry.b

-----Original Message-----
From: Jeremy [mailto:[EMAIL PROTECTED]
Sent: Friday, 31 October 2003 4:31 PM
To: CFAussie Mailing List
Subject: [cfaussie] Sessions With CFC.


Hi everyone,

I'm totally stuck. We have been beating our heads against the wall when it
comes to setting up a session variable within a CFC. We have a very OOP
programming logic and each time we process a page within the CFC it looses
the session. My question is this... I know you can set a session within a
CFC but I have been unable to get a working example. Has anyone got a
working example of creating a session scope within a CFC?

<cfif #parameterexists(session.LoginSession.login)#>
                        
                <cfelse>
                        <cfscript>
                                 session.LoginSession = structnew();
                                 session.LoginSession.login = '';
                                 session.LoginSession.password = '';
                        </cfscript>

                </cfif>


Thanks in advance.

jeremy

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to