note 126288 added to function.session-start
| From: | nwnisworking at gmail dot com | Date: | Fri, 30 Jul 2021 03:01:55 +0000 |
| Subject: | note 126288 added to function.session-start | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-216688@lists.php.net to get a copy of this message | ||
For anybody receiving empty response from JS fetch, you need to make sure to finish fetch request by
appending .then(e=>e.json()) after fetch. e.json() also be e.text()
----
Server IP: 45.112.84.4
Probable Submitter: 195.138.250.34 (proxied: 2404:e801:2014:5f6:5d17:c47:ccb6:5d88)
----
Manual Page -- https://php.net/manual/en/function.session-start.php
Edit -- https://main.php.net/note/edit/126288
Del: integrated -- https://main.php.net/note/delete/126288/integrated
Del: useless -- https://main.php.net/note/delete/126288/useless
Del: bad code -- https://main.php.net/note/delete/126288/bad+code
Del: spam -- https://main.php.net/note/delete/126288/spam
Del: non-english -- https://main.php.net/note/delete/126288/non-english
Del: in docs -- https://main.php.net/note/delete/126288/in+docs
Del: other reasons-- https://main.php.net/note/delete/126288
Reject -- https://main.php.net/note/reject/126288
Search -- https://main.php.net/manage/user-notes.php