Hi Taco, thanks for your input. > 1. Are you sure they need to be locked?
I believe it's best practice to lock the session scope even though CFMX uses single threaded sessions. > 2. Why not write a CFC that gets the config settings for you, something like > application.System.getWebRoot() and let the method handle the locking if > required. Ussually if you instantiate an object like this and feed it an XML > file that > contains all the settings and store it in the application scope it requires no > locking. That's fine for simple config values. > 3. When you say singleton, does that mean you implemented the logic for a > singleton? Oops .. sorry. I meant to say bean. not singleton. > 4. if you do request.something = session.something it creates a reference, if > you do request.something = duplicate( session.something ) it creates a deep > copy. > I guessI'd need to use the duplicate function as you suggested. I'm basically creating a session manager object that contains instances of all the beans required to manage the session. i.e. userbean, themebean, etc cheers, -- Jason Sheedy www.jmpj.net --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
