RE: [OT] mod_perl and last_insert_id() (Was: sequence and nextval)

2001-12-13 Thread Carsten H. Pedersen
> If running mod_perl does this stay true??? > > Isn't mod_perl using an already opened connection to do subsequent > manipulations? > Well, I assume you're not going to call last_insert_id() unless you have just inserted something into a table, thus updating the value for that particular conne

Re: [OT] mod_perl and last_insert_id() (Was: sequence and nextval)

2001-12-13 Thread sherzodR
perl scripts running under mod_perl environment ( with the help of Apache::Registry) will be using new database handler ($dbh) at each connection, unless you install Apache::DBI, which keeps the database handle open throughout the Apache process. Etienne Marcotte wrote: EM: Date: Thu, 13