Welcome Guest, Not a member yet? Register   Sign In
Unable to access CI session data in view when I go back to previous page
#1

[eluser]Zaheer Awan[/eluser]
Dear All...Good Day!
I am having problem in accessing session user data in views. When I login the user to system, it successfully creates session variables but when I go back to the previous page e.g the login form, the session variable seems to be undefined. This problem persists on all pages. When you create session variable using set_userdata it is created successfully but when you try to access that variable on another view page it says undefined variable. What is the problem? I have already set the session to autoload as well..




Theme © iAndrew 2016 - Forum software by © MyBB