Welcome Guest, Not a member yet? Register   Sign In
Problem whit flashdata


I have problems when printing the flashdata. Verified in the database and there is it, but I do not understand why not printable .Not had problems in previous versions. I have this slight problem.

What am I doing wrong?

$this->session->set_flashdata('error','Error ...... log);
print this:
echo $this->session->flashdata('error');


Hello All

I take the time to test each version from the version:

CodeIgniter V 2.1.3 (Current version)
CodeIgniter V 2.1.2
CodeIgniter V 2.1.1
CodeIgniter V 2.1.0
CodeIgniter V 2.0.3

All this one no print the flashdata.

with the same code works perfectly in this version CodeIgniter_2.0.2
Only in this version works perfectly flashdata.

This is my code:

$this->session->set_flashdata(‘loginerror’,‘Error en el logeo’);

and print this:

echo $this->session->flashdata(‘loginerror’);

Why is that? I have no idea.

Theme © iAndrew 2016 - Forum software by © MyBB