All Nucleus components have a scope property that you can set to global, session, or request. In the case of slot components, the way you set the scope affects the results of the item retrieval mode and, indirectly, the order in which visitors see items in the slot.



Per Session

Each visitor has a separate list of items, and the order of display persists as the visitor moves from page to page. Session-scoped slots are the most common.

This is the default setting.


All site visitors share the same list of items.

Per Request

As with session-scoped slots, each visitor has a separate list of items. However, the order of display does not persist among pages. Each time the visitor requests a page containing the slot, the system starts the cycle of display again.

For more information on the scope property, see the Nucleus: Organizing JavaBean Components chapter in the ATG Programming Guide.

loading table of contents...