I have a web application where in I check if the user is inactive for 28 mins and display a pop-up on the main page asking user if he wants to extend the session 'Yes' or 'No' for the next 2 mins. Once he clicks on 'Yes' I extend the session 30 more minutes else i kill the session if no action is taken. The whole logic of this time out is in Jquery.
My problem is when a user clicks on any hyperlink in my page and opens it in the new tab and remains inactive for 28 mins on the newly opened tab the user is not getting the alert on the new tab but he has the alert popped up on the main tab. The user is unaware that the session is inactive for 28 mins. Can you please suggest me a way where in i can switch the tab so that the user can see the alert on the main tab?
Thanks in Advance, Rutwik