How do I kill a session in Symfony2?

后端 未结 2 1785
鱼传尺愫
鱼传尺愫 2020-12-10 17:41

It appears that Symfony2 is waiting for AJAX response after a request. It will not go to another link on the same page until the response comes back.

This article d

2条回答
  •  被撕碎了的回忆
    2020-12-10 18:28

    Just a warning for those who are using the PHP built-in web server (as I got trapped, it might help others):

    From the PHP doc:

    The web server runs a only one single-threaded process, so PHP applications will stall if a request is blocked.

    It means that even if you close the session properly, you'll still end up stailing with one connection at once.

    http://php.net/manual/en/features.commandline.webserver.php

提交回复
热议问题