Navigate to Applications -> Shared Components -> Application Processes and hit Create in the application builder.
Create a process which runs “On Submit: After Page Submission – Before Computations and Validations”.
In Process Source type the following
IF (:REQUEST = 'T_YOUR_TAB_NAME’) THEN APEX_UTIL.CLEAR_PAGE_CACHE(your_page_number); END IF; DECLARE l_tab_page NUMBER; BEGIN SELECT tab_page INTO l_tab_page FROM apex_application_tabs WHERE application_id = :APP_ID AND tab_name = :REQUEST; APEX_UTIL.CLEAR_PAGE_CACHE(l_tab_page); EXCEPTION WHEN NO_DATA_FOUND THEN NULL; END;
T_YOUR_TAB_NAME can be identified from the developer mode or using firebug in Firefox on the specific tab your interested in.
Now when a user clicks on a sub-tab the target page's, page cache will be cleared before it loads.
To clear the cache for another tab, just add a new block to the application process you have created.
thanks for your reply. I have already added this to delete the session state when changing the tab. But this did not work for my problem, because if i shut the application and open it again, the values are still in the session state. In my former post i meant the browser tab, not the application tab, sorry!
if i shut the application and open it again, the values are still in the session state. In my former post i meant the browser tab, not the application tab, sorry!
if this can be achieve i suggest you clear the cache of the whole application
Look up : Managing Page and Region Caching