在浏览器选项卡关闭事件上显示确认弹出和跟踪时间 [英] Show confirmation popup and track time on browser tab close event

查看:82
本文介绍了在浏览器选项卡关闭事件上显示确认弹出和跟踪时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在关闭所有浏览器的浏览器标签时打开确认弹出窗口。如果用户确认确认关闭,那么我需要从我的应用程序跟踪他们的注销时间。任何人都有任何想法。

解决方案

实际上有很多技术可以处理这种情况。



在这里阅读一种这样的技术 - 如何在浏览器关闭时结束用户会话 [ ^ ]。

I need to open a confirmation popup in the time of closing browser tab for all browser. If user confirm for confirm close then i need to track their logout time from my application. Have anyone any idea for same.

解决方案

There are many techniques to handle this scenario actually.

Read one such technique here - How to end user session when browser closed[^].


这篇关于在浏览器选项卡关闭事件上显示确认弹出和跟踪时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆