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!

Chrome page preloading Feature breaks APEX Sessions

rode_mbJul 23 2024 — edited Jul 23 2024

Hi,

Chrome Browser has a feature called “chrome preload pages for faster browsing" - enabled by default.

Create a Bookmark in your bookmark bar to access the login page of your apex app (or the app builder).

Login into your app.

Now hover over the bookmark. Chrome preloads the Page and the APEX session in your browser breaks.

Actually this does not affect Bookmaks in Subfolders and it looks like some similar bug happens in Safari Browser (not yet reproducable)

There is a possible workaround: If you use a reverse proxy like nginx you can block this preload requests, for example:

if ($http_purpose = "prefetch") {
return 403;
}
if ($http_sec_purpose = "prefetch;prerender") {
return 403;
}

Maybe there is a way that APEX can block or ignore these requests directly?

This post has been answered by Daniel Hochleitner-Oracle on Jul 24 2024
Jump to Answer
Comments
Post Details
Added on Jul 23 2024
2 comments
339 views