{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/9035","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/9035/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/9035/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/9035/events","html_url":"https://github.com/joomla/joomla-cms/pull/9035","id":130106572,"number":9035,"title":"Ensure the session close method is called instead to e…","user":{"login":"PhilETaylor","id":400092,"avatar_url":"https://avatars.githubusercontent.com/u/400092?v=3","gravatar_id":"","url":"https://api.github.com/users/PhilETaylor","html_url":"https://github.com/PhilETaylor","followers_url":"https://api.github.com/users/PhilETaylor/followers","following_url":"https://api.github.com/users/PhilETaylor/following{/other_user}","gists_url":"https://api.github.com/users/PhilETaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/PhilETaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhilETaylor/subscriptions","organizations_url":"https://api.github.com/users/PhilETaylor/orgs","repos_url":"https://api.github.com/users/PhilETaylor/repos","events_url":"https://api.github.com/users/PhilETaylor/events{/privacy}","received_events_url":"https://api.github.com/users/PhilETaylor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8"},{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/Unit/System%20Tests","name":"Unit/System Tests","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2016-01-31T09:24:32Z","updated_at":"2016-02-02T20:34:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/9035","html_url":"https://github.com/joomla/joomla-cms/pull/9035","diff_url":"https://github.com/joomla/joomla-cms/pull/9035.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/9035.patch"},"body":"Ensure the session close method is called instead to ensure that session_write_close() is called before redirect\r\n\r\nBefore this change we called the applications close method which was just a exit() command - the sessions close method has more specific code to base64 encode and write the session explicitly with session_write_close() - so doing this on the redirect *should* fix any session write lag issues as per the PHP comments section and  #9013\r\n\r\nSee PHP.net http://php.net/manual/en/function.session-write-close.php comments\r\n\r\nIts VERY VERY hard to replicate unless you have a crap webhost and slow session saving\r\n\r\nTo test, just edit some articles on the frontend - nothing should be broken.\r\n\r\nCloses #9013"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/178807940","html_url":"https://github.com/joomla/joomla-cms/pull/9035#issuecomment-178807940","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/9035","id":178807940,"user":{"login":"durian808","id":15332828,"avatar_url":"https://avatars.githubusercontent.com/u/15332828?v=3","gravatar_id":"","url":"https://api.github.com/users/durian808","html_url":"https://github.com/durian808","followers_url":"https://api.github.com/users/durian808/followers","following_url":"https://api.github.com/users/durian808/following{/other_user}","gists_url":"https://api.github.com/users/durian808/gists{/gist_id}","starred_url":"https://api.github.com/users/durian808/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durian808/subscriptions","organizations_url":"https://api.github.com/users/durian808/orgs","repos_url":"https://api.github.com/users/durian808/repos","events_url":"https://api.github.com/users/durian808/events{/privacy}","received_events_url":"https://api.github.com/users/durian808/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T20:34:53Z","updated_at":"2016-02-02T20:34:53Z","body":"@gwsdesk good on @mbabker ... you have great tools here.  I'm not saying I won't delve deeper and start using the tool(s), I'm just in my flow right now and juggling a lot of things.  According to @dgt41 in this case I can drop in the one file.  If my testing shows things are fixed, I'll be on my way for now.  Otherwise, deeper down the rabbit hole."}}