Re: Connection notes and TLS (was: Re: Creating global DB connection)

2008-05-22 Thread Charlie Brady
On Wed, 21 May 2008, Hanno Hecker wrote: On Wed, 21 May 2008 10:39:37 -0400 (EDT) Charlie Brady <[EMAIL PROTECTED]> wrote: On Wed, 21 May 2008, Hanno Hecker wrote: - if you use the tls plugin, all connection notes are lost after the TLS setup is complete Why? Isn't that a bug in the tls pl

Re: Connection notes and TLS (was: Re: Creating global DB connection)

2008-05-22 Thread Charlie Brady
On Wed, 21 May 2008, Hanno Hecker wrote: On Wed, 21 May 2008 10:39:37 -0400 (EDT) Charlie Brady <[EMAIL PROTECTED]> wrote: On Wed, 21 May 2008, Hanno Hecker wrote: - if you use the tls plugin, all connection notes are lost after the TLS setup is complete Why? Isn't that a bug in the tls pl

Connection notes and TLS (was: Re: Creating global DB connection)

2008-05-21 Thread Hanno Hecker
On Wed, 21 May 2008 10:39:37 -0400 (EDT) Charlie Brady <[EMAIL PROTECTED]> wrote: > On Wed, 21 May 2008, Hanno Hecker wrote: > > - if you use the tls plugin, all connection notes are lost after the > > TLS setup is complete > > Why? Isn't that a bug in the tls plugin? When TLS is negotiated, the

Re: Creating global DB connection

2008-05-21 Thread Charlie Brady
On Wed, 21 May 2008, Hanno Hecker wrote: On Tue, 20 May 2008 17:18:50 -0400 Matt Sergeant <[EMAIL PROTECTED]> wrote: On 20-May-08, at 12:33 PM, Nighthawk wrote: Hi, I am trying to write plugin that does DB lookup and want to use the same db connection in more than 1 plugins. Somwhere I read

Re: Creating global DB connection

2008-05-21 Thread Ernesto
Nighthawk wrote on 20.05.2008 18:33: I am trying to write plugin that does DB lookup and want to use the same db connection in more than 1 plugins. Somwhere I read that we can save DB connection in qp->config(). But it is not working in my case. Please have a look at my db/suite http://dienstle

Re: Creating global DB connection

2008-05-21 Thread Jose Luis Martinez
Hanno Hecker escribió: - if you use the tls plugin, all connection notes are lost after the TLS setup is complete (we should add a hook here, so we can re-run stuff done in the hook_connect) [note to self: add this to the docs/plugins.pod] If you use TLS plugin and connect with DBD::mys

Re: Creating global DB connection

2008-05-20 Thread Hanno Hecker
On Tue, 20 May 2008 17:18:50 -0400 Matt Sergeant <[EMAIL PROTECTED]> wrote: > On 20-May-08, at 12:33 PM, Nighthawk wrote: > > > Hi, > > I am trying to write plugin that does DB lookup and want to use the > > same db connection in more than 1 plugins. > > Somwhere I read that we can save DB conn

Re: Creating global DB connection

2008-05-20 Thread Matt Sergeant
On 20-May-08, at 12:33 PM, Nighthawk wrote: Hi, I am trying to write plugin that does DB lookup and want to use the same db connection in more than 1 plugins. Somwhere I read that we can save DB connection in qp->config(). But it is not working in my case. Store it in $qp->connection->note

Creating global DB connection

2008-05-20 Thread Nighthawk
Hi, I am trying to write plugin that does DB lookup and want to use the same db connection in more than 1 plugins. Somwhere I read that we can save DB connection in qp->config(). But it is not working in my case. Here is what I did: ## #create db connection 1. my $db_data