Welcome Guest, Not a member yet? Register   Sign In
Session class not loading
#1

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

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

[eluser]Unknown[/eluser]
/facepalm

Thanks.
#4

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




Theme © iAndrew 2016 - Forum software by © MyBB