Welcome Guest, Not a member yet? Register   Sign In
Session problem! PLS help!
#7

[eluser]bogdan3l[/eluser]
I can't test your second method because i want the message to be shown only one time.

In test function i do:
=============================================================================================
$this->session->set_userdata('test', 'Hello world!');
redirect('/welcome');

And in index function:
=============================================================================================
echo $this->session->userdata('test');

But then i can't remove de Hello world!.

If i do $this->session->sess_destroy(); i get the header error, the same for unset_userdata.

Thank you again for your reply.


Messages In This Thread
Session problem! PLS help! - by El Forum - 02-15-2010, 03:05 AM
Session problem! PLS help! - by El Forum - 02-15-2010, 03:26 AM
Session problem! PLS help! - by El Forum - 02-15-2010, 03:45 AM
Session problem! PLS help! - by El Forum - 02-15-2010, 03:59 AM
Session problem! PLS help! - by El Forum - 02-15-2010, 04:02 AM
Session problem! PLS help! - by El Forum - 02-15-2010, 04:09 AM
Session problem! PLS help! - by El Forum - 02-15-2010, 04:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB