Welcome Guest, Not a member yet? Register   Sign In
Session: Error while trying to free lock for ci_session
#46

(This post was last modified: 06-08-2016, 05:58 AM by spjonez.)

Narf Wrote:This is a meaningless conclusion ...

What is supposed to happen in this scenario;

1. Two AJAX requests are fired (near) simultaneously
2. Both methods call session_write_close() as their first line of code (session library is autoloaded)
3. One of the two requests has to land first, it calls close and deletes the lock
4. Before the first call finishes it's logic the second request lands
5. The second request calls close, the lock doesn't exist as it was deleted by the first call?
Reply


Messages In This Thread
RE: Session: Error while trying to free lock for ci_session - by spjonez - 06-08-2016, 05:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB