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!

Issue with APEX 4.1: can't reuse stored session ID/username in URL redirect

685473Sep 19 2011 — edited Oct 11 2011
Since APEX 4.1 I can't reuse a previous stored session ID/username in a URL redirect.

In my application I have a page that will check if the user has already logged in once before in the browser session.
If the user has not logged in before then the login page is shown. After the user has logged in (using wwv_flow_custom_auth_std.login) the username/session id will be stored in the LOGIN_USERNAME_COOKIE cookie using owa_cookie and the user will be redirected to the default page.

If the user has logged in before then a redirect to the default page will happen with the session id stored in the cookie.
This way users don't have to re-login every time they re-enter the application URL.
In APEX 3.2.1 and APEX 4.0.2 it has worked smoothly.

In APEX 4.1 my "session check" procedure sees that the user has logged in before, it tries redirect to default page with the stored session ID.
But somehow the default page is rendered with a new session ID and the username is using "nobody" instead of the stored username in the cookie.

Now my question is: what has changed this behaviour in APEX 4.1?

regards,

Mathieu
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 8 2011
Added on Sep 19 2011
4 comments
963 views