Question
Problem with application-variables - CFLOCK?
Hi,
i have a problem with my application. It is a multi-user application with 100 parallel-users and CFMX 7.
The problem wich occures is with application variables. These are mainly structs wich get filled onApplicationStart(). The problem is, that the variables suddenly disappear, they are empty.
I have read about CFLock and found out, that it is necesseary to use cflock. And i found out, that onApplicationStart does correct locking automatically. That is where i do not understand the problem. The variables get intialized correctly and in further they only get read-access. Why can they be corrupted?
My other question about that is, wheather i need cflock for all Read-Access to Application and Session-Variables, even if there happens no writing to the variables?
Best Regards,
Andreas
i have a problem with my application. It is a multi-user application with 100 parallel-users and CFMX 7.
The problem wich occures is with application variables. These are mainly structs wich get filled onApplicationStart(). The problem is, that the variables suddenly disappear, they are empty.
I have read about CFLock and found out, that it is necesseary to use cflock. And i found out, that onApplicationStart does correct locking automatically. That is where i do not understand the problem. The variables get intialized correctly and in further they only get read-access. Why can they be corrupted?
My other question about that is, wheather i need cflock for all Read-Access to Application and Session-Variables, even if there happens no writing to the variables?
Best Regards,
Andreas
