Welcome Guest, Not a member yet? Register   Sign In
Issue related to ajax requests causing session logout
#3

(06-11-2015, 12:41 PM)mwhitney Wrote: First, there are a number of reasons for upgrading from 2.1.4 to 2.2.2, even if it doesn't fix your current issue. As far as I can tell, the bug fix you're referencing can be found here: https://github.com/bcit-ci/CodeIgniter/c...b181e6f4f0

Whether the "fix" will help or not, I don't know. You might be better off looking into what it would take to move to CI 3.

Thanks.


yes, I was referring to the same fix changelog. So, if I use this and I have an expiration time of 2 hours and my applications is based on a single page where only ajax requests happen and I do not want the session to timeout after 2 hours. So I think to do so I need to make a special ajax request to update session once before 2 hour expiration takes place.

Please let me know your thoughts on this.
Reply


Messages In This Thread
RE: Issue related to ajax requests causing session logout - by satej - 06-11-2015, 08:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB