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!

Not able to Remove cookie while logout

AnanyaOct 9 2013 — edited Oct 11 2013

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

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 8 2013
Added on Oct 9 2013
12 comments
964 views