CodeIgniter Forums

Full Version: IE6-7 Session problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]bogdan3l[/eluser]
Hello!

I have some problem with session in internet explorer and i need some help, i really appreciate.

I want to set a flashdata:
==============================================
$this->session->set_flashdata('test', 'ok');

When that flashdata is there i show a message:
==============================================
if($this->session->flashdata('test') == 'ok')
{
echo 'ok';
}

Now:
==============================================

Everything works just fine on other browsers but in internet explorer i get nothing until a refresh of the page and i don't know what is the problem.

*I need to use the session library with my database and i can't use the native session library.
*I tried to remove the underscore from session_cookie_name(http://ellislab.com/forums/viewthread/90364/P15/) but with no result.
*I tried to change my testing server time(http://ellislab.com/forums/viewthread/63278/) but with no result.



I need to solve this but i don't know how so i need help, i really appreciate.

Thank you!

El Forum

[eluser]bogdan3l[/eluser]
Ok, i've done it.

I replaced the ci session library with the Session Hybrid(http://codeigniter.com/wiki/Session_Hybrid/) and everthing works well.

El Forum

[eluser]bogdan3l[/eluser]
Has anybody other suggestions?