2
I have the following function in my Controller
:
private function SetImageAndColor($client_id) {
if (isset($_GET['color']) AND isset($_GET['image'])) {
$dados['click2call'][$client_id]['image'] = $this->input->get('image');
$dados['click2call'][$client_id]['color'] = $this->input->get('color');
$this->session->set_userdata('click2call', $dados);
}
}
It takes the parameters passed via $_GET
and saved in session.
My question is this: how do I verify that this session exists, but within the View
?
Thanks, man! You solved!
– GWER