Click here to Skip to main content
15,918,275 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi ,

can u guide me how to stop the users not to login in the same browser in multiple tabs
this causes some session data manipulations.

eg: user1 login in one tab
user2 login in another tab then after going to tab 1(user1) and submitting the form leads to some internal issues( like user2 with user1 data as user2 is latest logged in user) so please help mee..

Thanks for any answers..
Posted
Comments
Philippe Mori 8-Oct-15 13:08pm    
As explained in solution 1, it is up to you to adapt your site to works as the web works. Any user can open as many browser as he want on multiple computers. You just have to properly handle it on your server and possibly detect bad requests...

 
Share this answer
 
Comments
sateesh kumar nemalikanti 8-Oct-15 5:26am    
Thanks For the reply.

That link does not contain any solution sir and i only want to stop logging from multiple tabs in same browser(whether same or diff user)
F-ES Sitecore 8-Oct-15 6:09am    
There is no solution, you can't stop people logging in to multiple tabs. The solution is to fix your code so it can handle this.
You should use FormsAuthentication (asp net membership), and check the login status on Login page, if user is already loggedin then redirect to homepage. In other word don't let access the Login page if user is already logged in.

Please explain your situation a bit more so I can understand the issue exactly.
 
Share this answer
 

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