From 3cf994e6c5e041203c19bce016d4f026fa341334 Mon Sep 17 00:00:00 2001 From: Demin Yin Date: Wed, 30 May 2018 17:00:02 -0700 Subject: [PATCH] we do end session before sending HTTP response back --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index 89cdfdc..94c57d6 100644 --- a/README.md +++ b/README.md @@ -10,10 +10,6 @@ before any registered shutdown function is called). This package is for PHP-FPM only. Don't try to run it under CLI, PHP built-in web server, mod_php or FastCGI since it won't work. -This package doesn't end PHP session before running background tasks. Because of this, it could affect HTTP requests that - use same session. Thus, this package should be used only for PHP applications where session is not used, e.g., stateless - micro-services. - After sending HTTP response back to client side, background functions added continue to run and the PHP-FPM process is still running. To avoid side effects on your web server, please use this package accordingly. You may consider to use some worker instances or queue servers instead. When using this package, you may consider following suggestions to