Session and long polling |
Hello,
I've just update my app from CI 2.2 to CI 3.0.6. By the way, thanks for keeping CI alive ! Everything work fine, except pages with long polling. Here's how i test it : Load a page. Launch a long polling (xhr) for 30 seconds. Try to reload the page. The page will refresh only at the end of the long polling call. Log of the first load : Code: Loading Time: Base Classes 0.0171 Log of the refresh : Code: Loading Time: Base Classes 0.0172 The problem seems to be this request : 28.9773 SELECT GET_LOCK('bfa50f3e52f4ed5967e97e0fe5120bb7bfbc1da2', 300) AS ci_session_lock, where query time is always the long polling remaining time. I use database sessions. It was working fine with CI 2.2. Sorry for my english, hope you will understand my problem... Regards
I guess this thread can help you... http://forum.codeigniter.com/thread-61889.html
Website: http://avenir.ro
(03-31-2016, 07:13 AM)Avenirer Wrote: I guess this thread can help you... http://forum.codeigniter.com/thread-61889.html Ok, it seems to work ! Thank you
I find a note in the user guide : https://www.codeigniter.com/user_guide/l...oncurrency
Next time i'll be more attentive... |
Welcome Guest, Not a member yet? Register Sign In |