Skip to content

Commit f7a37af

Browse files
authored
Merge pull request #5148 from cakephp/issue-5105
Add note to CookieComponent docs.
2 parents aeb0060 + 2ef0f1f commit f7a37af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

en/controllers/components/cookie.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ Cookie
77
88
The CookieComponent is a wrapper around the native PHP ``setcookie()`` method. It
99
makes it easier to manipulate cookies, and automatically encrypt cookie data.
10+
Cookies added through CookieComponent will only be sent if the controller action
11+
completes.
1012

1113
.. deprecated:: 3.5.0
1214
You should use :ref:`encrypted-cookie-middleware` instead of

0 commit comments

Comments
 (0)