Problem with storing objects in session |
[eluser]felix_[/eluser]
Hey, ive got problems with storing object in my session i already found that several people hav this problem and i already replaced my Session.php with this one here but after my redirect to another controller my session lost all the data i put in =/ whats wrong with it?
[eluser]Roy MJ[/eluser]
You've gotta put some script so that ppl can see what your doing wrong...
[eluser]felix_[/eluser]
Code: $sessionData = array( when i do a var_export before the redirect everything is fine but after the redirect there is nothing of my data available in the session... not even the boolean value Code: function welcome() { var_export($this->session->userdata('user'); } hope this can help you to help me
[eluser]Kobus M[/eluser]
I have the exact same problem, using CI 1.7.2. My code is similar to this code posted. Session data is there before using redirect, gone after redirect. Kobus |
Welcome Guest, Not a member yet? Register Sign In |