CodeIgniter Forums
Session class not loading - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Session class not loading (/showthread.php?tid=36890)



Session class not loading - El Forum - 12-18-2010

[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.


Session class not loading - El Forum - 12-19-2010

[eluser]WanWizard[/eluser]
'seesion' is something else then 'session'...


Session class not loading - El Forum - 12-19-2010

[eluser]Unknown[/eluser]
/facepalm

Thanks.


Session class not loading - El Forum - 12-20-2010

[eluser]gyo[/eluser]
This post should be deleted...