Michael
2010-Jun-23 17:41 UTC
Patch review request: improvements to lazy-loaded sessions and session reset behavior
Hello, I''ve submitted a patch to improve session behavior in Rails. The most important change is related to lazily-loaded sessions -- a new session will now be created only when it is needed (when it is written to), not when the session hash is accessed. See the case for details: https://rails.lighthouseapp.com/projects/8994/tickets/4938-patch-session-fixes-sessions-should-not-be-created-until-written-to-and-session-data-should-be-destroyed-on-session-reset The patch is pretty straightforward, and has good test coverage, but I would appreciate feedback, especially from folks who have worked in this area of the framework. Thanks, Michael -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
Apparently Analagous Threads
- Patch review request: #3721
- Rails 2.3.9 breaks sessions with Active Record or Memcache store
- Please review #4400, "Avoid app_const when drawing routes in app generator"
- [patch] fix bytesize in exception template; multibyte titleize
- Add shorthand support for routes like /projects/status(.:format)