Ajax and Session loss |
[eluser]kenjis[/eluser]
CI's default 5 min session updating can cause session loss when more than 2 requests come at the same time, most of cases with Ajax calls. Many people get stuck to this issue. http://ellislab.com/forums/viewthread/167310/ http://ellislab.com/forums/viewthread/102456/ How about stopping session update in case Ajax call? Code: --- a/system/libraries/Session.php Tue Sep 14 18:45:42 2010 -0500 Note: You need to send X_REQUESTED_WITH header manually if you use jQuery or so. |
Messages In This Thread |
Ajax and Session loss - by El Forum - 09-14-2010, 07:09 PM
Ajax and Session loss - by El Forum - 09-14-2010, 10:41 PM
Ajax and Session loss - by El Forum - 09-14-2010, 11:00 PM
Ajax and Session loss - by El Forum - 09-14-2010, 11:12 PM
Ajax and Session loss - by El Forum - 09-14-2010, 11:13 PM
Ajax and Session loss - by El Forum - 05-12-2011, 05:33 PM
Ajax and Session loss - by El Forum - 05-12-2011, 07:23 PM
|