> I need to know where to look in a CF application for some > kind of coding problem that would cause several separate > users in a university computer lab to start getting > session values from another user online at the same time. > At one point, the session values for one of the user was > on three different screens; when clicking through various > site links, eventually they reverted to what was proper.
This may or may not be related to ColdFusion -- webserver caching could cause it, browser caching could cause it, cf caching could cause it (although I'd imagine less likely than the browser or the webserver), and in some circumstances lack of locking in CF5 and prior can cause it, although it's usually accompanied by some general server instability. <snip> > I was told cflock shouldn't be used and that this > wouldn't happen if the application was coded correctly, <snip> Who exactly is telling you this? Because in most cases this means they don't know what they're doing. cflock in CF5 and prior was required with session, application and server variables in order to ensure server stability. It's no longer required for that purpose with CFMX and later, although the tag still exists for the purpose of managing race conditions, which in and of itself is excruciatingly important. Moreover, if this is being caused by webserver or browser caching (or in some cases caching placed between the two), then the application being "correctly" coded has nothing to do with your problem. My rule of thumb is that anyone who says "cflock shouldn't be used" should be fired -- or in the case of a hosting provider you should move to a new provider. It demonstrates a lack of understanding of locking and likely of ColdFusion in general. s. isaac dealey 972-490-6624 team macromedia volunteer http://www.macromedia.com/go/team chief architect, tapestry cms http://products.turnkey.to onTap is open source http://www.turnkey.to/ontap ----------------------------------------------- To post, send email to [EMAIL PROTECTED] To unsubscribe: Send UNSUBSCRIBE to [EMAIL PROTECTED] To subscribe / unsubscribe: http://www.dfwcfug.org
