I have a button that executes a script using AJAX. Usually, when the session is still active, the script will return some data that will be placed inside the parent page. If the session has expired, AJAX will return a login screen that fits inside the parent page, which looks very strange.
How can I determine the session timeout and postback on the parent page?
source
share