I need a mechanism to prevent users from updating data in a module concurrently.
I've Flex in the front end and ColdFusion in the back end.
1. When user A clicks on a button, Issues, he or she can go in and update data in that module.
2. That module is locked, i.e., other users cannot access it and get a message that the module is in use.
3. When user A clicks on the Save button after updating the data, the lock is released.
I know I need to keep track of sessionid, userid, and some other id's.
What's the best way to go about it?
Does Flex have something?
ColdFusion doesn't seem to have a isSessionValid function, does it?
Is there any Java code that can be used?
Thanks in advance.
For data conflicts resolution, you can use:
Clear Toolkit from Farata Systems
LiveCycle Data Services (LCDS) from Adobe
Thanks for your suggestions. We looked at LiveCycle and BlazeDS and don't want to go down that road. The issue here is that we need to check if there are any valid sessionid's before granting user A the lock. We want something like isSessionValid, but can't find it for our use.
Any pointers (not related to LiveCycle and BlazeDS) are appreciated.