Saturday, October 26, 2013

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

Hi All,

  I have an issue with cakephp like,
 
 I have an app where the user will update their inventory by csv file read from a ftp server. So what i did i have a controller to do all stuff like

  1. connect and get the csv file of the user
  2. get the data from the csv
  3. insert into the related model

   my problem is that while a single user is doing  the operation its working fine but if two user simultaneously doing the operation (updating the inventory) then one user is getting failed to update inventory!!!

Any solution for this plz help me ....

   

 

 

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