I am using session container and store the arrays in a session. When i logged in then on the first time it give me undefined variable when i refresh the same page then it is working why?
$container = new Container('user');
$container->accesData=$data;
where $data is an array.
in my view i am accessing this session container as
$container = new Container('user');
$accessData=$container->accesData;
on the first time it give me an error while refreshing the same working fine why?
Recently i checked my project.
Actually what is happening?
I am performing logging from the login module after that i collect an assoc array and save it into the session from the module Case its working fine from till this stage and redirecting to the account module but the array which i store earlier is lost for the one time when i refresh the same its working inside account module. I don't know what is going on. Any one help me please?