Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

How To Maintain The Data Concurrency In Active Record

$
0
0
Hi,
The scenario is, I have the Profile of user, who logged in to application and editing the his information.

User opened the profile in edit mode, and changing the details on browser, but meanwhile the administrator changed the some information of user.
So, when user change there information and submit the update form, it will override the changes done by the administrator.


I tried to implement this, from url http://learnyii.blogspot.in/2012/04/yii-concurrency-optimistic-control.html

but, it is not working.. So how can we maintain the Data Concurrency during update the record.
Can we make it as core of active record in Yii.


Thanks,
Gaurish

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>