on 1/16/02 7:42 AM, Martin Wickman at [EMAIL PROTECTED] wrote:

> Dl Neil wrote:
> 
>> 2 because the (function argument) controlling feature is the connection, it
>> is not possible for another
>> concurrent user to 'steal' your ID or influence the ID returned to you - it's
>> all yours!
> 
> Ok, assume you are correct, but what if you are using persistent
> connections (ie pconnet)?
> 

it's still 'your' persistent connection that's being queried though. from
the manual on mysql_pconnect

 Returns a positive MySQL persistent link identifier on success

this is why you use the link identifier in things like mysql_query, and lets
mysql 'know' what 'your' last insert was.

hope this helps,
mike

 -- mike cullerton   michaelc at cullerton dot com



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to