Skip to content Skip to sidebar Skip to footer

Bypassing Browser Popup Blocking When Automatic Session Timeout Occurs

Please help regarding the following issue. I have enabled the 'Block popup' option in browser. We are doing a session validation using a background ajax call to check the session i

Solution 1:

A popup blocker is used to block popups. If there was a way around it, it would be completely useless.

You can either:

  1. Add an exception for your domain in your popup blocker's settings
  2. Not use a popup for your notification but rather display it on the page itself through javascript

Solution 2:

If the browser has blocked use of pop-ups in JavaScript, it has blocked them. There is no way you can force the browser to let them through.

You can always try creating a pop-up like element on your page, it won't force the user to deal with it first (except on your page) but will still 'look' correct.

Post a Comment for "Bypassing Browser Popup Blocking When Automatic Session Timeout Occurs"