Posted by Janwillem Borleffs on 10/22/05 22:42
Lόpher Cypher wrote:
> class Form_Register tries to access database via object of DB, at
> which point I get an error that it is incomplete (DB is stored in
> session as well)
And here it is where it goes wrong; you cannot store resources in sessions.
Therefore, your code should test the connection and attempt to set up a new
one when applicable.
JW
[Back to original message]
|