Hi All,
I have implemented Apex integration with ebiz. To skip seeing apex login page when logged in using ebiz, I have sent a cookie from ebiz with username and password from EBIZ and using it to login in apex application. Its working perfectly fine but issue starts while logout. While logout when I tried to remove this cookie (to prevent login again), the code seems not working It is not expiring the cookie
BEGIN
owa_util.mime_header('text/html', FALSE);
owa_cookie.remove(
name=>'MYCOOKIE',
val=>NULL);
wwv_flow_custom_auth_std.logout( p_this_flow=>:APP_ID,p_next_flow_page_sess=>:APP_ID || ':' || 1);
END;
Result of this is user is able to navigate through app by changing page in url or by clicking on back button of browser even if he logsout.
I checked using debug of apex that when login process code tries to fetch username from cookie usingĀ v_value := owa_cookie.get('MYCOOKIE'). it is able to fetch values as cookie is not changed, expired or removed by the logout code.
Please suggest the possible reasons and how to delete this cookie to prevent this autologin.
Thanks,
Ananya