[eluser]Unknown[/eluser]
I've setup a fresh CI 1.7.3 install, set the configs necessary (autoload session, database defaults, etc.) then put this in the welcome controller:
Code:
$this->load->library('session');
$this->seesion->set_flashdata('flashConfirm','Flash Working');
$data['confirmation'][]=$this->session_flashdata('flashConfirm');
$this->load->view('welcome_message',$data);
When I try to run it I get:
Quote:Severity: Notice
Message: Undefined property: Welcome::$seesion
Filename: controllers/welcome.php
Line Number: 13
Line 13 is the "$this->seesion->set_flashdata('flashConfirm','Flash Working');" line. I have tried autoloading the session and loading it manually in the controller, but nothing seems to work. Any idea what is going on? I'm running this on MAMP 1.9.1 (PHP 5.3.2 w/ Apache 2.0.63)
What's strange is that session data is being added to the DB.
Thanks.