> Cannot lock SESSION scope. > Cannot use cflock to lock the application or session shared scopes > without these scopes being established through the use of the > cfapplication tag. To use the session scope you need to enable > session management. Application and/or Session variables must also be > enabled in the ColdFusion Administrator.
Hmmm... well that's strange... My first instinct is to say that you've somehow accidentally attempted to lock the session scope inside of the onApplicationStart() method or possibly in the soft-constructor of the Application.cfc (which is how it appeared in your pseudo-code). But I had assumed that what you really meant was that the lock was in the onSessionStart() method (but you just weren't showing the cffunction tags for it). That would be the only way that I could see this actually working on your live server, and I thought I remembered you saying you'd pulled down a known-good copy that matched what's on the live server. Anyway, that's the only other thing that springs to mind for me is that onSessionStart() doesn't execute until after onApplicationStart() and the session scope doesn't exist until that method executes (which I'm sure you know). If you'd like some help off-list, feel free to email me the Application.cfc you've got and I'll test it here and see if I see anything else peculiar with it. p.s. Adobe ought to update that error message. It's still using the error message from CF5, before Application.cfc was introduced and most of us don't use the cfapplication tag to establish our scopes anymore. ;) -- s. isaac dealey :: AutLabs Creating meaningful employment for people with Autism http://www.autlabs.com ph: 817.385.0301 http://onTap.riaforge.org/blog ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327347 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

