How to avoid to open same window of existing website(window) in new tab
for eg.. if i have a page www.mysite.com/page1.aspx if i copy this URL and paste in new tab of the browser than a popup or message should be appear(alert-- you have already open this website)
Note: if we reload or refresh the previous page than alter should not be appear .means only one page can be open at a time
It should be done in scripting only, i need your valuable advice thanks in advance
Create a cookie, set its value to true on page load and false on log off. check if a cookie is true and same page loaded show your message.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.