Re: DBIx::Database object in %udat

2002-09-28 Thread Angus Lees
At 28 Sep 2002 16:05:37 -0400, David J. Mark wrote: [...] > This works perfectly, but i get a new DB connection on every request. use Apache::DBI in your apache startup, or give DBIx::Database the !SaveAs option and use that name in your DBIx::Recordset !DataSource. > I was hoping to be able to

Re: Session support

2002-09-28 Thread Angus Lees
At Sat, 28 Sep 2002 12:32:37 +0200, Kaare Rasmussen wrote: > But another thing re sessions. I'm thinking about adding an "updated" column > and a trigger or something to be able to clean out old unused sessions. > > Or does Apache::Session(X) magically keep track of them? no, and its actually a

DBIx::Database object in %udat

2002-09-28 Thread David J. Mark
Hello, Just wondering if this is the best direction to go in, and how to make it work. I've tried the following: base.epl: [! sub new { # other stuff here $self->{'radius'} = DBIx::Database->new({ '!DataSource' => 'dbi:mysql:host=localhost;database=radius', '!Username' =>

Re: [$ return ... $]

2002-09-28 Thread Ed Grimm
Because [- exit -] does the same thing? Ed On Sat, 28 Sep 2002, Kjell Morgenstern wrote: > Hi! > > Why is there no [$ return $] ? > > mfG, > Kjell Morgenstern - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

[$ return ... $]

2002-09-28 Thread Kjell Morgenstern
Hi! Why is there no [$ return $] ? mfG, Kjell Morgenstern - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

PrevNextForm problem

2002-09-28 Thread Andre Landwehr
Hi, I'm currently trying out Recordset's PrevNextForm for the first time. This is a simple page: [- *set = DBIx::Recordset -> Search ({'!DataSource' => 'mydb', '!Table' => 'user', '$max'=> 10,

Re: Session support

2002-09-28 Thread Kaare Rasmussen
> note that the latest version or two of DBD::Pg actually reports > correct SQL types to DBI (which is probably why my DBIx::Recordset > tests are failing now) and correctly escapes the binary BYTEA type. OK, so I will try a bytea column with Storable. I don't think there will be a big performan