I have a site which contains many links on the pages. Now I want to achieve the following:-
- User logs in website with credential and visit one of the page in the site.
- User right click on link and open the link in new tab.Now there are two pages of website opens in user's browser in two tabs.
- Currently Log Out option is visible on every page of the website. Authenticated user click on log out option in the page opened in one of the tab.
- Log out redirects user to login page.
- So as per these scenario ,there is one more page remains open in another tab.
- Now if the same user click on any of the link in the page then it should redirect to login page
Please provide your valuable input to achieve this functionality.