set_flashdata breaks my session - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: set_flashdata breaks my session (/showthread.php?tid=27569) |
set_flashdata breaks my session - El Forum - 02-15-2010 [eluser]Wazzu[/eluser] Hi, guys, this newbie really needs some help. I have a simple user login which sets and checks session data for the current user. Then I have a 'user' controller to edit user's profile. When I use $this->session->set_flashdata from the controller, my session goes away, so my user needs to login again. I can't get the reason, it seems that session data gets overwriten when using it. What is wrong here? How should I do it? Thanks in advance. set_flashdata breaks my session - El Forum - 02-15-2010 [eluser]Wazzu[/eluser] Maybe because I'm calling it from a private _profile_save() function? |