Viewing Session State

View the Session page by clicking Session on the Developer toolbar.

The Session page provides valuable information about the session in which the application is currently running. Must of the behavior of an Oracle Application Express application is driven by values in session state. For example, a button may display conditionally based on the value of an item session state. This section describes how to view session state for a page.

To view the Session page:

  1. Run the application as a developer.
  2. Locate the Developer toolbar. By default, the Developer toolbar displays at the bottom of the page.
  3. Click Session on the Developer toolbar.

    The Session page appears and displays the following information displays at the top of the page.

    • Application - Identifies the application name.

    • Session - Displays the session ID for the current session.

    • User - Identifies the current user.

    • Workspace - Displays the current workspace ID.

    • Browser Language - Identifies the current browser language.

  4. Use the fields at the top of the page to alter the display.
  5. Page - To locate a page, enter the page number and click Set:
  6. Find - Enter a case insensitive query for and click Set. Use Find to search item name and item value, or collection name (depending upon your view).
  7. Rows - Select the number of items to display and click Set. Use Find to search item name and item value, or collection name (depending upon your view).
  8. View - Select a session state report to view and click Set.

    Tip:

    Use Find to search item name and item value, or collection name (depending upon your view).

    View options include:

    • Page Items - Displays attributes of the page item, including the application ID, page number, item name, how the item displays (for example, check box, date picker, display only, text field, hidden, popup, radio group, and so on), the item value in session state, status of the session state (for example, Inserted, Updated, or Reset) and if the item is encrypted.
    • Application Items - Displays application items. Application items are items that do not reside on a page. Application items are session state variables without the associated user interface properties.
    • Session State - Displays session state details, including the application ID, page number, item name, the item value in session state, how the item displays (for example, check box, date picker, display only, text field, hidden, popup, radio group, and so on), label, encryption status, and data item ID.
    • Collections - Displays currently defined collections.
    • All - Displays page items, application items, session state, and collections.