diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-02-21 09:17:38 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-02-21 09:17:38 +0000 |
commit | f29857690fee7fa8350f79922e349669480c0329 (patch) | |
tree | 68cb793cc38c9d288ce496b82d931f993b25e459 /actionpack/lib/action_view/helpers/form_options_helper.rb | |
parent | 2afc01b7ce6283a3c5e62b92890be8cd77f9455f (diff) | |
download | rails-f29857690fee7fa8350f79922e349669480c0329.tar.gz rails-f29857690fee7fa8350f79922e349669480c0329.tar.bz2 rails-f29857690fee7fa8350f79922e349669480c0329.zip |
Introduce a cookie-based session store as the Rails default. Sessions typically contain at most a user_id and flash message; both fit within the 4K cookie size limit. A secure hash is included with the cookie to ensure data integrity (a user cannot alter his user_id without knowing the secret key included in the hash). If you have more than 4K of session data or don't want your data to be visible to the user, pick another session store. Cookie-based sessions are dramatically faster than the alternatives.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6184 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view/helpers/form_options_helper.rb')
0 files changed, 0 insertions, 0 deletions