File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
actionpack/lib/action_controller Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -87,10 +87,11 @@ module ActionController
87
87
#
88
88
# or you can remove the entire session with +reset_session+.
89
89
#
90
- # Sessions are stored by default in a browser cookie that's cryptographically signed, but unencrypted.
91
- # This prevents the user from tampering with the session but also allows them to see its contents.
92
- #
93
- # Do not put secret information in cookie-based sessions!
90
+ # By default, sessions are stored in an encrypted browser cookie (see
91
+ # ActionDispatch::Session::CookieStore). Thus the user will not be able to
92
+ # read or edit the session data. However, the user can keep a copy of the
93
+ # cookie even after it has expired, so you should avoid storing sensitive
94
+ # information in cookie-based sessions.
94
95
#
95
96
# == Responses
96
97
#
You can’t perform that action at this time.
0 commit comments