Welcome Guest, Not a member yet? Register   Sign In
losing sessions user_data after redirect
#7

[eluser]cideveloper[/eluser]
Code:
redirect('content');
redirects you to the controller content. You keep on saying redirect to view. So when you redirect to the controller content with no method specified you will be calling the index function. Is this where you are loading a view that has the code
Code:
<?php print_r($this->session->userdata); ?>
. Have you checked your database to see if the data is being saved. Easiest first step.


Messages In This Thread
losing sessions user_data after redirect - by El Forum - 01-24-2011, 12:08 PM
losing sessions user_data after redirect - by El Forum - 01-24-2011, 12:59 PM
losing sessions user_data after redirect - by El Forum - 01-24-2011, 01:15 PM
losing sessions user_data after redirect - by El Forum - 01-24-2011, 01:57 PM
losing sessions user_data after redirect - by El Forum - 01-24-2011, 02:12 PM
losing sessions user_data after redirect - by El Forum - 01-24-2011, 03:09 PM
losing sessions user_data after redirect - by El Forum - 01-24-2011, 03:59 PM
losing sessions user_data after redirect - by El Forum - 01-24-2011, 04:49 PM
losing sessions user_data after redirect - by El Forum - 01-24-2011, 05:03 PM
losing sessions user_data after redirect - by El Forum - 01-24-2011, 05:15 PM
losing sessions user_data after redirect - by El Forum - 01-24-2011, 06:53 PM
losing sessions user_data after redirect - by El Forum - 01-25-2011, 01:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB