Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
fd55679c
Commit
fd55679c
authored
Oct 20, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #5266
parent
67e2754e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
runtime-sessions-cookies.md
docs/guide/runtime-sessions-cookies.md
+3
-2
No files found.
docs/guide/runtime-sessions-cookies.md
View file @
fd55679c
...
@@ -304,8 +304,9 @@ on the client side. This is achieved by signing each cookie with a hash string,
...
@@ -304,8 +304,9 @@ on the client side. This is achieved by signing each cookie with a hash string,
tell if a cookie is modified on the client side or not. If so, the cookie will NOT be accessible through the
tell if a cookie is modified on the client side or not. If so, the cookie will NOT be accessible through the
[
[yii\web\Request::cookies|cookie collection
]
] of the
`request`
component.
[
[yii\web\Request::cookies|cookie collection
]
] of the
`request`
component.
> Info: If a cookie fails the validation, you may still access it through `$_COOKIE`. This is because third-party
> Note: Cookie validation only protects cookie values from being modified. If a cookie fails the validation,
libraries may manipulate cookies in their own way, which does not involve cookie validation.
you may still access it through
`$_COOKIE`
. This is because third-party libraries may manipulate cookies
in their own way, which does not involve cookie validation.
Cookie validation is enabled by default. You can disable it by setting the
[
[yii\web\Request::enableCookieValidation
]
]
Cookie validation is enabled by default. You can disable it by setting the
[
[yii\web\Request::enableCookieValidation
]
]
property to be false, although we strongly recommend you do not do so.
property to be false, although we strongly recommend you do not do so.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment