02-15-2010, 03:05 AM
[eluser]bogdan3l[/eluser]
Hello!
I have a problem with the ci session library in internet explorer 6-7(8 not tested).
I give you a quick example what i want to do.
==========================================================================================
class Welcome extends Controller {
function __construct()
{
parent::Controller();
$this->load->helper('url');
$this->load->library('session');
}
function index()
{
echo $this->session->flashdata('test');
}
function blabla()
{
$this->session->set_flashdata('test', 'Hello world!');
redirect('');
}
}
==========================================================================================
Ok, in other browsers everything is ok (when i access http://localhost/welcome/blabla i am redirected to http://localhost/ and i see the Hello world!).
In IE 6-7 i am redirected to http://localhost/ but i don't see the Hello world! but, if i give a refresh to the page then i see the Hello world!.
Could someone help me to solve this? Please! I am stuck with my project.
Thank you!
Hello!
I have a problem with the ci session library in internet explorer 6-7(8 not tested).
I give you a quick example what i want to do.
==========================================================================================
class Welcome extends Controller {
function __construct()
{
parent::Controller();
$this->load->helper('url');
$this->load->library('session');
}
function index()
{
echo $this->session->flashdata('test');
}
function blabla()
{
$this->session->set_flashdata('test', 'Hello world!');
redirect('');
}
}
==========================================================================================
Ok, in other browsers everything is ok (when i access http://localhost/welcome/blabla i am redirected to http://localhost/ and i see the Hello world!).
In IE 6-7 i am redirected to http://localhost/ but i don't see the Hello world! but, if i give a refresh to the page then i see the Hello world!.
Could someone help me to solve this? Please! I am stuck with my project.
Thank you!