Welcome Guest, Not a member yet? Register   Sign In
Session not working in some pages
#4

[eluser]CodeIgniteMe[/eluser]
which part of your codes did you put this?
Quote:
Code:
$data = array(
        'Title' => $this->input->post(TITLE),
        'Price' => 45,
        'Keywords' => $this->input->post(IMAGE_KEYWORDS),
                                    
        );
        $this->session->set_userdata('imagedata', $data);
        redirect(SOME_WHERE);

you can check your session values by echoing
Code:
$this->session->all_userdata();

I think you probably had some errors in your code. note your array, the last comma after your last element


Messages In This Thread
Session not working in some pages - by El Forum - 06-20-2012, 06:27 AM
Session not working in some pages - by El Forum - 06-20-2012, 06:33 AM
Session not working in some pages - by El Forum - 06-20-2012, 06:36 AM
Session not working in some pages - by El Forum - 06-20-2012, 07:33 PM
Session not working in some pages - by El Forum - 06-20-2012, 10:14 PM
Session not working in some pages - by El Forum - 06-20-2012, 10:40 PM
Session not working in some pages - by El Forum - 06-21-2012, 01:34 PM
Session not working in some pages - by El Forum - 06-21-2012, 10:10 PM
Session not working in some pages - by El Forum - 06-21-2012, 10:12 PM
Session not working in some pages - by El Forum - 06-21-2012, 10:16 PM
Session not working in some pages - by El Forum - 06-21-2012, 11:49 PM
Session not working in some pages - by El Forum - 06-22-2012, 03:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB