Documented session.http_only (#4743)

Credit to @ayumi-cloud
This commit is contained in:
Ayumi 2019-12-14 17:14:23 +00:00 committed by Luke Towers
parent 7902cfa58a
commit 56eab50260
2 changed files with 15 additions and 0 deletions

View File

@ -137,6 +137,19 @@ return [
'domain' => null,
/*
|--------------------------------------------------------------------------
| HTTP Access Only
|--------------------------------------------------------------------------
|
| Setting this value to true will prevent JavaScript from accessing the
| value of the cookie and the cookie will only be accessible through
| the HTTP protocol. You are free to modify this option if needed.
|
*/
'http_only' => true,
/*
|--------------------------------------------------------------------------
| HTTPS Only Cookies

View File

@ -277,6 +277,7 @@ class Controller extends ControllerBase
if ($ajaxResponse = $this->execAjaxHandlers()) {
$result = $ajaxResponse;
}
/*
* Execute postback handler
*/
@ -287,6 +288,7 @@ class Controller extends ControllerBase
) {
$result = $handlerResponse;
}
/*
* Execute page action
*/