[thelist] trying to learn about locking (was: Re: CF Session Variables)

Raymond Camden jedimaster at macromedia.com
Thu Oct 4 07:26:14 CDT 2001


> I'm sorry to keep dragging this out, but now I am at a point 
> where I would 
> like to have something clarified for me, please. :)

Don't worry about dragging this out - well, at least I don't mind. Your
problem seems quite odd, so I'm hoping we can find a solution.

> 
> I am confused by the whole thing because there were too many 
> variables 
> involved, and I have spent hours trying to come up with a 
> graceful solution 
> for "repairing" the damage. After mulling this over (and 
> pulling out hair) 
> I have a question.

It's hard, but when you start having wierd issues, sometimes the only
thing you can do is pick apart your app, piece by piece.

> IF the price of zero was in fact NOT an issue.
> 
> and IF the CF server (4.5.1) this application was running on 
> is in fact 
> VERY overloaded
> 
> Is it still possible for this "session swapping" to go on 
> even when Locks 
> (either the Name= OR Scope=) are in place?

As far as I know, this should not be happaning. I'd need to see more of
your code, site, etc.

> Here is my scenario: If I can get a copy of the database from 
> backup and in 
> effect restore the customer information from that point, and 
> then left the 
> store on that same overloaded server, without having a 
> product with a price 
> of zero, is it still possible that the corruption will occur 
> because of the 
> overload, even with the session locking in place?

To be honest, I can't imagine why a simple product, with price 0, would
cause such problems,

> I am working on moving the site to a less crowded server, 
> replacing the 
> locks as Raymond suggested, and considering using Client 
> variables instead 
> of session variables since this is on a shared server and I 

Client vars have "issues" as well, don't forget. :)

=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email    : jedimaster at macromedia.com
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 





More information about the thelist mailing list