in reply to Re: Re: DBI: last insert id
in thread DBI: last insert id

I'm not sure, but that may only work if you do an insert in the same session. Are you?

In any case, that function works fine for me, but I'm using it right after I do my inserts.