I am working on a website using PHP and MySql. I am working on user authentification now.
I just wanted to know if it is possible to register a session variable with a database object?
I've tried it and it fails to carry the database connection to the other pages. However, if I give a string or number as a value, it carries.
I've tried like this - After authentifying the user, I've tried storing the member object as a session variable and storing the database connection object as another session variable. But, they failed to hold their values in the subsequent pages. Now, I am storing the member ID into the session variable. (to get things going for time being).
Pls help. Am I missing something?
Thanks in advance.
Amy.