Welcome Guest, Not a member yet? Register   Sign In
session lock feedback
#3

(03-19-2019, 03:33 AM)wjonker Wrote: Hey,

I'am not shure I do understand your questen correct. But the documentation mention's that they use session for the following reason :

"non-blocking requests in the context of sessions also means unsafe, because modifications to session data (or session ID regeneration) in one request can interfere with the execution of a second, concurrent request. This detail was at the root of many issues and the main reason why CodeIgniter 3.0 has a completely re-written Session library."

Source : https://codeigniter.com/userguide3/libra...oncurrency

thanks for reply but i read documents and i know why ci use get_lock, so it wont solve my problem
i just want to give feedback to users when session locks. for example query takes time about 5 minutes and user click another request, i want to give feedback like "the last request is running, you should wait for this"
Reply


Messages In This Thread
session lock feedback - by makif - 03-19-2019, 12:23 AM
RE: session lock feedback - by wjonker - 03-19-2019, 03:33 AM
RE: session lock feedback - by makif - 03-19-2019, 11:25 PM
RE: session lock feedback - by php_rocs - 03-20-2019, 06:57 AM
RE: session lock feedback - by makif - 03-28-2019, 03:52 AM
RE: session lock feedback - by php_rocs - 03-28-2019, 06:34 AM
RE: session lock feedback - by makif - 03-28-2019, 08:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB