Welcome Guest, Not a member yet? Register   Sign In
Session Race Condition - loss of session upon concurrent ajax requests
#1

[eluser]DevTyme[/eluser]
Is there a solution for this yet? This is causing some big problems.

The issue is best as described here:
http://www.hiretheworld.com/blog/tech-bl...conditions

I have tried the solution as described in the blog above, but it does not seem to work.

The best way to reproduce this problem is to minimize the $config['sess_time_to_update'] to a low value, such as 50. Create a page that utilizes the session before it loads the view, and then have some AJAX requests fire upon the page load, one after another..

Upon the next page visit, your session will have been destroyed..

Is there a stable build out with a solution for this?




Theme © iAndrew 2016 - Forum software by © MyBB