simplabs / excellent

Home | Edit | New

SessionHashInViewCheck

This check reports views (and partials) that access the session hash. Accessing the session hash directly in views can result in security problems if the value is printed to the HTML output and in general is a bad habit because the controller, which is actually the part of the application that is responsible for dealing with session data, is circumvented.

Applies to

  • partials and regular views
Last edited by marcoow, Wed Aug 05 07:54:49 -0700 2009
Home | Edit | New
Versions: