Skip to content

Commit beb3665

Browse files
committed
Merge branch '2.0' into 2.1
Conflicts: reference/configuration/framework.rst
2 parents 0d0434b + d75d7f4 commit beb3665

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

components/http_foundation/trusting_proxies.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ your proxy::
1818

1919
$request = Request::createFromGlobals();
2020
// only trust proxy headers coming from this IP address
21-
$request->setTrustedProxies(array(192.0.0.1));
21+
$request->setTrustedProxies(array('192.0.0.1'));
2222

2323
Configuring Header Names
2424
------------------------

reference/configuration/framework.rst

+9
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Configuration
2626
* enabled
2727
* field_name
2828
* `session`_
29+
* `name`_
2930
* `cookie_lifetime`_
3031
* `cookie_path`_
3132
* `cookie_domain`_
@@ -146,6 +147,14 @@ csrf_protection
146147
session
147148
~~~~~~~
148149

150+
name
151+
....
152+
153+
**type**: ``string`` **default**: ``null``
154+
155+
This specifies the name of the session cookie. By default it will use the cookie
156+
name which is defined in the ``php.ini`` with the ``session.name`` directive.
157+
149158
cookie_lifetime
150159
...............
151160

0 commit comments

Comments
 (0)