{"id":18042342,"date":"2024-09-28T09:49:19","date_gmt":"2024-09-28T09:49:19","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/active-php-session-problem\/"},"modified":"2024-09-28T09:49:19","modified_gmt":"2024-09-28T09:49:19","slug":"active-php-session-problem","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/active-php-session-problem\/","title":{"rendered":"Active PHP session problem"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I have the following problem in the health section of my website:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u201cAn active PHP session was detected.<br \/>A PHP session was created by a session_start() function call. This interferes with REST API and loopback requests. The session should be closed by session_write_close() before making any HTTP requests.\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I found that the problem comes from setting PHP session in the plugin options. Unfortunately, I tried all other options but they didn&#8217;t work and conflict with cache settings. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Would give me a solution for this.<\/p>\n","protected":false},"template":"","class_list":["post-18042342","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18042342","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18042342\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18042342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}