[phplib] phplib changes databases on me From: Stephen Woodbridge (woodbri <email protected>)
Date: 05/07/01

Hi all,

I have a phplib application in local.inc I tell it to store session data
in "family". If the application is using "family" it is happy,
but if I have the application open a connection to "test", I get the
following error on page_close():

Database error: Invalid SQL: update active_sessions set
val='RXh ... OyA=',
changed='20010507134547' where sid='b0e171b52d6d645e26d2b5b5f9098cb7'
and name='Example_Session'
MySQL Error: 1146 (Table 'test.active_sessions' doesn't exist)
Session halted.

which indicates that it is trying to write the session data to the
"test" database instead of the "family" database.

What am I doing wrong? Is this a know bug? Is there a work-a-round?

Thanks,
  -Steve

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>