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!

AJAX Calls and invalid Session

SebastianRMar 7 2017 — edited Mar 7 2017

Hi,

I have an page which is performing some ajax calls and dynamic actions. The event is the oracle apex timer plugin.

The problem is, that I get dirty alert-Messages if the session is invalid (killed by the user). How can I handle these messages?

The alert messages looks like: "Pls login ..." or "json parse error unexpected token" and i get many of these alert messages, because I have one ajax call and 2 dynamic actions.. so three alert messages when this happens.

Is there a way to perform an ajax call to check if the session status?

I know a dirty way to solve this => I could override the alert-function and perform a reload of the page.. but I would prefer a better way

Greetings

Sebastian

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 4 2017
Added on Mar 7 2017
1 comment
419 views