diff options
author | redmatrix <git@macgirvin.com> | 2016-04-10 17:42:32 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-04-10 17:42:32 -0700 |
commit | 0fe495727429dea14e4876c74ceb03fb71b58c29 (patch) | |
tree | efa8728a5ebfc4c2f8ebec300099042044744a0c | |
parent | e9f1bac062bc72f118c7633cf683b21a000d089e (diff) | |
download | volse-hubzilla-0fe495727429dea14e4876c74ceb03fb71b58c29.tar.gz volse-hubzilla-0fe495727429dea14e4876c74ceb03fb71b58c29.tar.bz2 volse-hubzilla-0fe495727429dea14e4876c74ceb03fb71b58c29.zip |
when setting the session handler as an object using the auto register shutdown flag, explicitly calling session_write_close() should no longer be required. It shouldn't cause any issues if it is called twice, but the session driver interface has been known to sometimes act in unexpected ways and there are lots of "subtleties" which can often be difficult to debug. The mentioned flag implies PHP 5.4 minimum but I believe we require that anyway.
-rwxr-xr-x | boot.php | 1 | ||||
-rwxr-xr-x | index.php | 1 |
2 files changed, 0 insertions, 2 deletions
@@ -1616,7 +1616,6 @@ function login($register = false, $form_id = 'main-login', $hiddens=false) { * @brief Used to end the current process, after saving session state. */ function killme() { - session_write_close(); exit; } @@ -190,5 +190,4 @@ call_hooks('page_end', App::$page['content']); construct_page($a); -session_write_close(); exit; |