Sunday, October 27, 2013

Re: bulk record add in a model by diffrent terminal to a single database issue

thanks for replying euromark,

I have also the form upload functionality that also having the same problem, and of course this is the requirement for the client so i have to do in ftp way and form way.

The users has unique session while logged in to works on same application. so while uploading the file or start an ftp upload they have different application session , so i am confused why cakephp has conflict while inserting the record to MySql table.

The transaction concept in cakephp what i read is if any unusual condition occurs then you can roleback to preserve the db state.

My requirement is to smoothly process concurrent requests from the different application sessions to make the job done by the the controller's action which the cakephp should handle with mysql, the problem arise while inserting the records, i think in certain point the mysql is giving same resource id to both the sessions.
 
i have attached a image file you can have a view and any suggestions are welcome..

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: