Session problem - probably a basic one. |
[eluser]netameta1[/eluser]
Well its kind of really basic problem with sessions. I have been looking for an answer in the guide and in google and cant find the answer maybe its so basic. I am used to php normal session - where you $_session['bla']=something .. and next time you want to retrieve it you'll just use that same thing. now with CI this is how i insert the data. Code: $newdata = array( My question is - to fetch them do i use it like that: Code: $session_id = $this->session->userdata('newdata'); also if that is correct, and the array newdata goes to $session_id will i treat $session_id like it where newdata ? Thanks in advanced. |
Welcome Guest, Not a member yet? Register Sign In |