Welcome Guest, Not a member yet? Register   Sign In
I Can't Get My Sessions To Work Right
#1

[eluser]ShoeLace1291[/eluser]
I am having loads of trouble getting my sessions to work right with my CodeIgniter application. I can log in once, but then after 5 minutes I get logged out. When I go to log back in again, my script says I am already logged into a member account and only on the login page, my account toolbar displays that I am logged in. Then I go back to the home page and I'm "logged out" again. I cannot access any "member only" content.

Through a core extension of the controller class that gets the current user's information I use $this->user throughout the app controllers to display the user's information. It could also be something with my config but I thought I got that straightened out... maybe not... who knows. So here's my code:


Messages In This Thread
I Can't Get My Sessions To Work Right - by El Forum - 10-18-2014, 12:49 PM
I Can't Get My Sessions To Work Right - by El Forum - 10-18-2014, 12:50 PM
I Can't Get My Sessions To Work Right - by El Forum - 10-18-2014, 12:59 PM
I Can't Get My Sessions To Work Right - by El Forum - 10-18-2014, 01:00 PM
I Can't Get My Sessions To Work Right - by El Forum - 10-18-2014, 01:02 PM
I Can't Get My Sessions To Work Right - by El Forum - 10-18-2014, 01:02 PM
I Can't Get My Sessions To Work Right - by El Forum - 10-19-2014, 05:11 AM
I Can't Get My Sessions To Work Right - by El Forum - 10-20-2014, 05:39 AM
I Can't Get My Sessions To Work Right - by El Forum - 10-20-2014, 02:22 PM
I Can't Get My Sessions To Work Right - by El Forum - 10-20-2014, 02:41 PM
I Can't Get My Sessions To Work Right - by El Forum - 10-20-2014, 02:52 PM
I Can't Get My Sessions To Work Right - by El Forum - 10-20-2014, 03:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB