Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Posted
Comments
Praveen Kumar Upadhyay 6-Jan-15 1:14am    
You means user is login with xyz.com with Chrome browser. Now he opens new tab or new chrome and hit xyz.com. At this time you want to logout the user, right??
Member 8073143 6-Jan-15 6:15am    
Yes
As generally which happens in bank website

1 solution

XML
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
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900