Skip to content

Commit eaccffa

Browse files
authored
Merge pull request rails#44523 from SValkanov/apidocs_edit_actioncontroller_doc
Edit ActionController Base API docs [ci-skip]
2 parents b64cbc0 + 3ad9e57 commit eaccffa

File tree

1 file changed

+5
-4
lines changed
  • actionpack/lib/action_controller

1 file changed

+5
-4
lines changed

actionpack/lib/action_controller/base.rb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,11 @@ module ActionController
8787
#
8888
# or you can remove the entire session with +reset_session+.
8989
#
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.
9495
#
9596
# == Responses
9697
#

0 commit comments

Comments
 (0)