Hello everybody,
I think I have stumbled over a bug in Apex regarding the logout-Process, if a session has already timed out. I do the following:
- Login to the application
- Wait, until the session has timed out
- Do something that triggers an AJAX-call (e.g. click on the "Go"-Button of an Interactive Grid) --> An error message appears that the session has timed out
- Click the logout-link
Then the following error appears:

This happens only, if the Post-Logout-URL is set to URL (not to Home Page) in the authentication scheme and an AJAX-call with a timed-out session has happened before. Any idea, what the reason is, and if this could be worked around (without setting the Post-Logout-URL to "Home Page")?

The URL looks quite interesting as well (lots of zeros): https://apex.oracle.com/pls/apex/f?p=66659:09999:0:0:0:0:0
If anybody wants to try (session timeout is set to 30 seconds):
[https://apex.oracle.com/pls/apex/f?p=66659](https://apex.oracle.com/pls/apex/f?p=66659 "https://apex.oracle.com/pls/apex/f?p=66659")
Username: demo
Password: DemoApex2020!?
Best wishes
Markus