• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.