Hi langdon, [EMAIL PROTECTED],

Thanks for your reply. I checked the group for getLastIsertID and
found many discussion. I also found the discussion where nate has
replied. However I was not sure what does it mean "scoped to the
current database connection". I have asked nate for explanation...

Regards,
bingo

On Mar 26, 11:23 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> As I understand, it works on the last query performed by that user, so
> you are always going to get the correct ID.
> I've never had any trouble with it with a heavily used CRM/CMS system.
>
> On Mar 27, 1:07 pm, "bingo" <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> > I wanted to know how getLastInsertID works. I am especially concerned
> > when two different users are posting two different articles at the
> > exactly same time (although chances are extremely rare but is
> > possible), then what getLastInsertID returns..does it works within a
> > particular session or is global to whole application?
>
> > Thanks
> > bingo- Hide quoted text -
>
> - Show quoted text -


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

Reply via email to