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
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