Ways to detect CTRL-N or when a user opens a new window

后端 未结 6 1435
醉酒成梦
醉酒成梦 2020-12-22 12:52

How can we detect when a user opens a new window. The user is already authenticated and we make heavy use of sessions.

We were trying to avoid Ctrl+

6条回答
  •  Happy的楠姐
    2020-12-22 13:42

    If opening a new window causes a problem in your application, then you should fix the application code to handle it instead of trying to apply an inconsistent and unreliable client-side "bandage". That's my opinion.

提交回复
热议问题