On 6/17/05, RADEMAKERS Tanguy <[EMAIL PROTECTED]> wrote: > question relates to whether or not i can safely put cfc instances in the > session scope. I seem to remember some discussion about how cfc > instances couldn't be serialized and so couldn't be replicated along > with the rest of the session. That's not too bad as far as i'm > concerned, since sessions are sticky, but i'm more worried about cf > throwing an error as soon as i try to put the instance in the session in > a clustered environment.
No, you will be able to store CFCs in session scope, no problem. However, if your setup is replicating session data and you have a server failover, then those CFC references in the replicated sessions will be invalid (I think you can test isObject() on them and it will fail on the replicated instance). As long as the session stays on a single server, you won't have a problem. -- Sean A Corfield -- http://corfield.org/ Team Fusebox -- http://fusebox.org/ Got Gmail? -- I have 50, yes 50, invites to give away! "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ---------------------------------------------------------- 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). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
