CodeIgniter Forums

Full Version: CI tries to save even complete new custom fields into the session table...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
Like you might guess what's this all about.. "CI tries to save even complete new custom fields into the session table...", i have no idea what is going on here.

I just followed an great videocast (http://vimeo.com/7529193) regarding sessions and logging in using the database.

After completing this tour, i was disappointed. When i want to login, i get the following error:

Quote:Error Number: 1054

Unknown column 'userEmail' in 'field list'

UPDATE `sessions` SET `userEmail` = '[email protected]', `userPassword` = 'a1066faa4563cbdda18901e8d749f63c', `last_activity` = 1268368650, `user_data` = 'a:2:{s:9:\"userEmail\";s:16:\"[email protected]\";s:6:\"userId\";s:13:\"1\";}' WHERE `session_id` = '308a6a5ddaed9c9d90e55f829ab2d817'

I have never ever said that i wanted to save these "userEmail" and "userPassword" fields into a own table column...

Does anyone have an idea about how this come ?

Thank you