Home » Database » DB_DataObject » Bug #4323
DB Object Seems to Forget DSN Information
Details
| Submitted | 2005-05-10 22:32 UTC |
|---|---|
| From | jda_mule at yahoo dot com |
| Status | No Feedback |
| Package | DB_DataObject |
| PHP Version | 4.3.11 |
| OS | Mac OS 10.4 |
| Roadmaps | (Not assigned) |
Comments
[2005-05-10 22:32 UTC] jda_mule at yahoo dot com
Description:
------------
I can successfully create a DB object, which connects to the
database and gathers queries successfully.
I then load the entire DB object into a session variable, and
call it later in my application.
When I query using the DB session object, I always get a "DB
Error: no database selected" error message.
Yet, if I do a die(print_r($_SESSION['db'])) the _db and dsn-
>database attributes are correctly set to the name of the
database I am trying to use.