Peter Bell wrote, On 12/22/2006 10:14 AM:
Hi Sam,
Main benefit I've heard is if you want to change the way you handle sessions
in general - otherwise scope facades have limited utility.
What do you mean by "change the way you handle sessions in general?" As
in, change all that data to be stored in a cookie, or something?
-Sam
Best Wishes,
Peter
You might also have some method setVarInStruct(var, struct), but I'm
not sure what advantages or disadvantages that may provide.
On the other hand, I don't immediately see what benefit using a facade
may provide above the drawbacks I mentioned of using sessions in CFCs
directly. I'm fairly sure there are some, so I wanted to ask you all.
Well, I could see that it can handle the case a variable doesn't exist
for you, so that is a nice thing... but what else?
You are subscribed to cfcdev. To unsubscribe, please follow the instructions at
http://www.cfczone.org/listserv.cfm
CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]
You are subscribed to cfcdev. To unsubscribe, please follow the instructions at
http://www.cfczone.org/listserv.cfm
CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]