Why session do not !!! |
[eluser]Unknown[/eluser]
Can you send display the master.php page? Fatal error: Call to a member function set_userdata() on a non-object in C:\xampp\htdocs\revnicts\system\admin\controllers\account\account.php on line 17 This error implies that you have not created the object correctly. A short potential fix is $obj=& get_instance(); $obj->session->set_userdata($session_data); But you shouldn't rely on this. As clearly something is a miss. I too am having my own fun and games with session setting. If you are testing on a localhost machine. Your cookie might not even be setting at all if you set the "cookie_domain" to 'localhost' A bug persay in php or not, but if it is localhost, you actually need the value to equal false. Please refer to my little article I put up, with demo code to explain what im talking about further. http://www.freshteapot.net/inthepantry/H...h-php.html |
Messages In This Thread |
Why session do not !!! - by El Forum - 09-12-2007, 06:14 PM
Why session do not !!! - by El Forum - 09-12-2007, 07:35 PM
Why session do not !!! - by El Forum - 09-13-2007, 07:36 AM
|