如何在用户在同一浏览器上的同一应用程序上打开新选项卡时注销用户 [英] How to logout a user when he opens a new tab on same application on same browser

查看:84
本文介绍了如何在用户在同一浏览器上的同一应用程序上打开新选项卡时注销用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

高科技极客当我说我的应用程序网址是xyz.com时我想实现逻辑

假设用户登录我的应用程序xyz.com

和何时同一个用户在相同浏览器的新选项卡中打开相同的应用程序我想注销那个通常发生在银行网站的用户

任何人都可以告诉我如何跟踪它

解决方案

只要用户登录到应用程序,就会为该用户创建一个带有cookie的新会话。此cookie成为会话ID,因此所有后续请求使用此作为参考。检查页面加载的详细信息。 

遇到好文章。请阅读以下文章。

http://www.codeproject.com/Articles/859579/Hack-proof-your-asp-net-applications-from-Session?msg=4973233#xx4973233xx


Hi tech geeks i want to implement a logic when say my application url is xyz.com
suppose a user is login in my application xyz.com
and when the same user opens the same application in new tab of same browser i want to logout that user which generally happens in banking websites
Can any one give me a idea how to track it

解决方案

whenever an user is login into application,new session is created with a cookie for that user.This cookie becomes the session Id,so all the subsequent request use this as reference.Check those details on Page loading.

Come across good article.Please read following article.

http://www.codeproject.com/Articles/859579/Hack-proof-your-asp-net-applications-from-Session?msg=4973233#xx4973233xx


这篇关于如何在用户在同一浏览器上的同一应用程序上打开新选项卡时注销用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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