Welcome Guest, Not a member yet? Register   Sign In
Session lost AJAX CI 3.x
#3

(This post was last modified: 05-10-2017, 08:26 AM by raknjak.)

When you are SURE that this is not a CSRF issue, then your only option is to not allow AJAX calls to change the session data.

Look at system/libraries/Session/Session.php LINE 145: it would seem this issue is not present anymore. The session only updates on non-AJAX requests. I recall this being solved a long time ago.

Check the network tab in your browser console, what is the reply there?
Reply


Messages In This Thread
Session lost AJAX CI 3.x - by tnathos - 05-09-2017, 05:21 PM
RE: Session lost AJAX CI 3.x - by webdev25 - 05-09-2017, 10:47 PM
RE: Session lost AJAX CI 3.x - by raknjak - 05-10-2017, 08:26 AM
RE: Session lost AJAX CI 3.x - by GENCODE LIMITED - 10-31-2019, 01:25 AM
RE: Session lost AJAX CI 3.x - by InsiteFX - 11-01-2019, 03:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB