|
What is the best method for manipulating an object in
session? For example I keep a cart object in session to store shopping cart
data. Lets say I want to call the add method of that object. I have a
cartFacade which I use to get the object from session, but I’ve noticed
that it only returns a reference to the object in session so I’m running
on the assumption that editing that object without locking it isn’t good
practice. On the other end it seems strange to call an object from the
cartFacade and then put a lock on the object within the method that is manipulating
the object. What’s best practice for dealing with this? Thanks in advance! Joe Ferraro 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] |
- [CFCDev] manipulating an object in session Joe Ferraro
- Re: [CFCDev] manipulating an object in session Joe Rinehart
- RE: [CFCDev] manipulating an object in session Joe Ferraro
- RE: [CFCDev] manipulating an object in sessio... Vince Bonfanti
- Re: [CFCDev] manipulating an object in se... Barney Boisvert
- RE: [CFCDev] manipulating an object ... Joe Ferraro
- RE: [CFCDev] manipulating an object in se... Ben Rogers
