user_data from session database |
[eluser]Unknown[/eluser]
I am trying to retrieve custom session data from the session database as specified in the guide but it doesn't say how to extract it. All I have done is create the database per the example in the session class section and populated the sample data: Code: $newdata = array( I should be able to extract it like this: Code: $session_id = $this->session->userdata('session_id'); But how do I select [userdata][username] or whatever? |
Welcome Guest, Not a member yet? Register Sign In |