Youn, March 27, 2021 - 4:13 am UTC
Thanks for your answer but I don't understand how this solution can work. Whatever you try in the cookies configuration, Safari will always block them when they are in an iframe. When they are in a iFrame, it considers them as third-party cookies. Hence blocked. Here are the steps to reproduce the issue :
1 - Use any cookies configuration you want
2 - Insert an Apex App in an iFrame
3 - Open it in Safari or Chrome Incognito Mode
4 - You will notice the cookies are not created
5 - Try to submit a page of the apex app inside the iframe, you will get the error : Your session has expired.
Here is an article explaining how Apple blocks all cross sites cookies :
https://www.theverge.com/2020/3/24/21192830/apple-safari-intelligent-tracking-privacy-full-third-party-cookie-blocking I don't understand how you could make it work since it's not (only) about cookies configuration (same site for instance), it's about the default browser settings.
thanks
March 31, 2021 - 4:27 am UTC
Try no cookie mode.
Modify the application's Authentication Scheme, set the Session Sharing type to Custom, and provide a cookie name of "-NO_COOKIE-" .
Chuck Jolley, March 27, 2021 - 3:32 pm UTC
We have a page something like this case.
It's an ASP iframe that does database queries inside our 3ed party web host's pages.
We provide a link to open the iframe contents in a new tab if the user has problems. It's pretty sparse decoration wise, but at least it works.
APEX iFrame on Apple devices
Jan-Peter Meyer, March 23, 2025 - 9:45 am UTC
Hi Connor,
has there been any new development regarding this issue?
We recently ran in to the same problem with an iFrame containing an APEX 24.1 APP page where we keep getting "Your session has ended" on all Apple devices (and also in a Chrome incognito Window).
We have tried all the mentioned potential fixes ... the -NO_COOKIE_ approach actually sends the page into an endless refresh loop.
Thanx for any input,
Jan-Peter