Re: HTTP_Session using DB

From: Date: Mon, 11 Apr 2005 03:27:29 +0000
Subject: Re: HTTP_Session using DB
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18676@lists.php.net to get a copy of this message
On Apr 10, 2005 6:00 PM, Rob Agar <rob@wildlime.com> wrote: > hi Torsten > > > > What kind of problem do you have? > > Well, by the time it calls HTTP_Session_Container_DB::write, the > database connection is no longer valid (I'm getting warnings like "23 is > not a valid MySQL-Link resource at line 798 of > c:\php\PEAR\DB\mysql.php") before it dies with an error. > > It seems to be caused by the fact that I have another PEAR::DB > connection to the same database... > If you have two mysql connections and close one, the other will likely also be closed. Are you perhaps closing your other connection? -- Justin Patrin

« previous php.pear.general (#18676) next »