Welcome Guest, Not a member yet? Register   Sign In
Small issue with a Session?

This is my first time using sessions in CI and I'm not sure whats happening. In another part of my application I'm assigning sessions as follows...

$this->session->set_userdata('13:00:00', 6)
$this->session->set_userdata('14:00:00', 26)
$this->session->set_userdata('15:00:00', 17)

The problem is when I try to call them in the showsummery chart below, they wont echo the value. I have echoed the sessions in another page and they print their respective values.

function showsummary()



//Strange thing is... if I was to set the session here, it would work fine...
$this->session->set_userdata('14:00:00', 26);

$chart =
<chart_border color='000000' top_thickness='1' bottom_thickness='2' left_thickness='0' right_thickness='0' />

<string>Region A</string>
//These will not print their values unless the sesion was set in this function like above

SendChartData ($chart);

Is there something I'm missing here?

Messages In This Thread
Small issue with a Session? - by El Forum - 01-13-2009, 07:13 AM
Small issue with a Session? - by El Forum - 01-13-2009, 10:10 AM

Theme © iAndrew 2016 - Forum software by © MyBB