Welcome Guest, Not a member yet? Register   Sign In
session data lost after redirect in CI 3
#3

Not really related to your problem, but if you're using CI3, why don't you simply store info the PHP mode: $_SESSION['whatever'] = 'whatever you want stored';

The set_userdata was inserted in CI3 only to avoid breaking code of CI2.x.

Regarding what kaai3 said, you don't need to load session "on every page", as you already "autoloaded" it.

Could you show us how and where you store the session data with some code?
Reply


Messages In This Thread
RE: session data lost after redirect in CI 3 - by Avenirer - 02-16-2016, 01:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB