[eluser]Unknown[/eluser]
This is my controller code:
Code:
<?php
class Loginform extends CI_Controller {
function index() {
$this->load->library('session');
$this->session->set_flashdata('foo','bar');
$this->load->view('loginform');
}
}
?>
And this is my view code:
Code:
<hr>
<?php echo $this->session->flashdata('foo'); ?>
<hr>
In the databases is stored this:
Code:
'cc579ba84d885beb2452fdf66766847f', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) App', '1313969048', 'a:1:{s:13:"flash:new:foo";s:3:"bar";}'
But, it doesn't visualize it.