• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Session not working in some pages

#6
[eluser]CodeIgniteMe[/eluser]
what browser are you using?
what is displayed after you put this?
Code:
$this->session->all_userdata();
how do you access your saved sessions?

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 access them like this
Code:
$this->session->userdata('item');


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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.