I been programming 3~4 years ago, and I remember that in some 2005 php security book about the safety of using mysql_insert_id to retrieve the last_inser_id.
In the book says that if there is several request to the server at the same time (thousands), could make the retrieve of last_insert_id wrong, ending with user's id pointing to other users.
Now we are in 2013, what you guys have to says about this, and especially using codeigniter insert_id().
pd: I tried to find relevant info about my question in other places but I didnt found something concrete.