Perhaps this could figure out more about getLastInsert(); i found more issues about that in this link:
http://groups.google.com.mx/group/cake-php/browse_thread/thread/cf7e6979f69833b3/8b44638067dd05fa?lnk=gst&q=connection&rnum=12&hl=es#8b44638067dd05fa On 1 jun, 21:30, cakePHP <[EMAIL PROTECTED]> wrote: > Hi, > > Does CakePHP pool database connections (using mysql) or does it > establish aconnectionper user thread? If it is the latter, is there > a limit on the number of concurrent connections to the database? > > I ask as I want to use getLastInsert() function, which nobody here > seems to have any issues with. > > In database.php, there is the option to use mysql_connect or > mysql_pconnect. Does the latter mean it is a persistentconnection > (pooling?) and if so, would getLastInsert() still give the correct id? > Is there a link? > > Thanks. > > Vasu --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
