Welcome Guest, Not a member yet? Register   Sign In
Session data not storing after idle
#1

[eluser]Unknown[/eluser]
Hi,

I have a website using CodeIgniter sessions. Normally everything with a user's session saves and updates correctly. The problem is that, if a user is idle on a page for 5 minutes or so, the next time they load a page, any changes that page attempts to make to their session variables are not stored properly.

So for instance, if the user sits idle on the home page logged out for a period of time, and then attempts to log in, it will log them in and get the correct profile page to redirect them to, but once that actual profile page loads all the session data is now lost. So it's like they didn't even log in.

Any previously loaded session data is still saved. It's just any new/updated information that is lost. I've tried changing the default value of $sess_time_to_update but that doesn't seem to make any difference.

Thanks for any help.




Theme © iAndrew 2016 - Forum software by © MyBB