CodeIgniter Forums
Session logout in a spa application due to multiple requests at same time - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19)
+--- Thread: Session logout in a spa application due to multiple requests at same time (/showthread.php?tid=62905)



Session logout in a spa application due to multiple requests at same time - satej - 09-06-2015

Hi,

There is an issue related to session logout in a single page application due to multiple requests at same time to the server either ajax or iframe page requests.

The issue happens when more than 1 request reaches the server at same time and server detects it needs a session update.
Complete explanation for above issue can be referenced at http://satejkumar.blogspot.in/2015/09/session-logout-fix-with-codeigniter.html


RE: Session logout in a spa application due to multiple requests at same time - Narf - 09-07-2015

Yes, we know. Upgrade to CodeIgniter 3 if you want the issue resolved.