Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to dynamically clear session state of page items?

C PatelMay 25 2010 — edited May 25 2010
APEX 3.2.1.00.10

Hello! I have a page where various items are conditionally displayed based on the user's privileges and which report they have selected to execute. This page essentially shows various input parameters to execute report. Once the user provides the parameter values, the page is submitted and then branches off to a corresponding APEX report page. Now, if the user wants to get back to the previous page where all the input parameters are, they can either click the browser's "back" button or click on the breadcrumb to get back. In either case, the values that they initially provided are still visible in the page items that correspond to the report that was just executed.

How to reset them (i.e. clear them back out)? I see for breadcrumbs, you can specify to Clear Cache of a specific page and set specific items with a specific value, but my problem is that since not all items are displayed, I cannot generically clear the cache. Is there an APEX API to loop through all visible page items and clear the cache? ...or does this have to be done in Javascript?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 22 2010
Added on May 25 2010
3 comments
3,088 views