Home > Understanding Application A... > Managing Session State and ... > Managing Session State
Managing Session State |
![]() Previous |
![]() Next |
A session establishes persistence (or stateful behavior) across page views. You view and purge session state for the current session or purge existing sessions by age. Alternatively, you can first review session details on the Session State page and then purge.
Topics:
To view session state for the current session:
Navigate to the Workspace home page.
Click Manage Services on the Administration list.
The Manage Services page appears.
Click Session State.
When the Session State page appears, click Current preferences and session state with an option to purge.
From the Currrent Preferences and Session State page:
To view information about the current session, click View Session State.
To reset the session state for the current session, click Purge Session State.
To purge existing sessions by age:
Navigate to the Workspace home page.
Click Manage Services on the Administration list.
The Manage Services page appears.
Click Session State.
Select Purge sessions by age.
Make a selection from the Sessions older than list.
Click one of the following buttons:
Report Session generates a report detailing the total number of sessions for the workspace, the number of users, and the number of old sessions.
Purge Sessions purges existing sessions by age.
You can determine whether to remove existing sessions by first reviewing session details on the Session State page.
To view session details prior to removing session state:
Navigate to the Workspace home page.
Click Manage Services on the Administration list.
The Manage Services page appears.
Click Session State.
Select Recent sessions with drill down to session details.
To narrow the results, select a time frame, specify a user, and click Go.
To view session details, select the session ID.
The Session Details page appears.
Click one of the following buttons:
Remove Session. Removes the record of the session from the SESSIONS
table along with the session state (including collections data) associated with the session.
Any user using a session that is removed will no longer be able to use the session and will be prompted to re-authenticate upon their next page request (in most situations). This option could be used by administrators who might have a need to make sure a specific user could no longer access an Oracle Application Express application.
Remove State. Clears the session data from the session state tables (including collections data) but does not remove the session record. Removing a session is a good approach for developers during debugging.
This is the equivalent of clearing session state for the current session using the Clear Cache argument value SESSION
in the f?p URL. This option might also be used by developers during debugging.