In CodeIgniter, checking if an input exists is easy.
Rather than using
$something = isset($_POST['something']) ? $_POST['something'] : NULL;
You can simply do:
$something = $this->input->post('something');
My question is, is it the same with session?
$something = isset($_SESSION['something']) ? $_SESSION['something'] : NULL;
the same with
$something = $this->session->something;