weixin_39687667 2020-11-22 03:41
浏览 0

Login hangs on unresponsed AJAX requests

Hey!

There is something I have noticed several times now and this very very often happnes when there are unresponsed AJAX requests.

Things I did: 1) Make AJAX requests that takes a bit longer (the AJAX requests has access to _SESSION and checks if user is logged in aswell)

2) While the AJAX request is still "requesting" I try to make another request (on the website for example) (for example go to my profile or whatever).

What happens on my end is, that the site just loads and loads but nothing happens. To resolve this problem I either have to wait until I get logged out of the session or I restart the webserver.

I dont really know where the problem is but if I can help to debug it let me know.

Quick Edit: The webserver works just fine. All my other sites load perfectly fine

该提问来源于开源项目:therecluse26/PHP-Login

  • 写回答

0条回答 默认 最新

    报告相同问题?