State bag

From Wikipedia, the free encyclopedia
  (Redirected from State Bag)
Jump to: navigation, search

In computer programming, the state bag design pattern refers to the storing of session state in a multidimensional array. A Breadcrumb (navigation) is the first dimension of the state, which tracks the users movement within a page, file, or module. Each collection of breadcrumbs is stored in the state bag.

The state bag can be traversed to move through the different collection of breadcrumbs. This is like the browser's history and also provides the flexibility for the breadcrumb to track any navigation history within each state bag item (breadcrumb).

Personal tools
Namespaces
Variants
Actions
Navigation
Interaction
Toolbox
Print/export