Browser Pop-up Blocker Bypass When Automatic Session Timeout Occurs

Please help in solving the following problem.

I turned on the option "Block popup" in the browser. We are conducting a session check using an ajax background call to check if the session is active or not. If the session is inactive for the required interval, a pop-up window will appear for notification.

Now let's get down to the task. since the pop-up session notification is automatically triggered without any interaction with the client. This popup is blocked by the browser. But if the client clicks on any popup in a form in which the popup will not be blocked by the browser.

I want the session notification pop-up not to be blocked by the browser, even if the option "Pop-up browser" is enabled.

+1
source share
2 answers

Pop-up blocker is used to block pop-ups. If it were around, it would be completely useless.

You can:

  • Add exception for your domain in pop-up blocker settings
  • Do not use the popup for your notification, but rather show it on the page itself through javascript
+4
source

If the browser has blocked the use of pop-ups in JavaScript, it has blocked them. You cannot force the browser to skip them.

, ( ), .

+2

All Articles