Welcome Guest, Not a member yet? Register   Sign In
Multiple sessions problem...
#1

[eluser]Wonder Woman[/eluser]
I have a controller which sets submitted form data into a session, however the first one works but the other three are undefined...any ideas?

Code:
$search_radius = $this->input->post('search_radius');
$property_type = $this->input->post('property_type');
$bedrooms = $this->input->post('bedrooms');
$parking = $this->input->post('parking');

$this->session->set_userdata('search_radius', $search_radius);
$this->session->set_userdata('property_type', $property_type);
$this->session->set_userdata('bedrooms', $bedrooms);
$this->session->set_userdata('parking', $parking);

Is it to do with memory? Or do I need some sort of multiple session library?

Thanks


Messages In This Thread
Multiple sessions problem... - by El Forum - 08-13-2010, 08:13 AM
Multiple sessions problem... - by El Forum - 08-13-2010, 11:01 AM
Multiple sessions problem... - by El Forum - 08-16-2010, 04:02 AM
Multiple sessions problem... - by El Forum - 08-16-2010, 05:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB