According advise in wwv_flow_custom_auth_std.logout not working in 4.2.3 to open new thread here it is.
THX for an answer. I was "somehow" aware that in 4.2.3 something was changed in logout logic ... So this is how I did solve (please tell me if this is OK):
1) Copied old logout page (page 33) to page 34
2) create new page 33 where in, "On load before Header", I have placed as advised:
apex_authentication.LOGOUT (p_session_id => :SESSION, p_app_id => :APP_ID);
WHEN APEX_APPLICATION.e_stop_apex_engine THEN
WHEN OTHERS THEN
AUTO_LOG_ERROR_APEX_WEB_APP ('Redirect to 34 (old LOGOUT_PAGE)');
So this code do all what is needed (I assume all) and redirect to mine old page 33 (now 34) where I reset all other values and show some information on that page that I want.
On "Edit Security Attributes" in Apex design, I have redefined:
On session timeout direct to this URL: f?p=&APP_ID.:33
On session idle time timeout direct to this URL: f?p=&APP_ID.:33
In previous version I had in "Session Not Valid" URL:
which is now defined as:
as you see to page 34 which do not do logout (I assume this is done already so I didn't want to make again).
Please advise if something is wrong here ... for me now all seems to be running OK...
THX once again for your time and help, really appreciate.
you can remove the call to SYS.OWA_UTIL.redirect_url above. The apex_authentication.LOGOUT procedure already emits a redirect to the application's post logout URL (or the home page, if the logout URL is empty).