Solved

session issue in multiple tab browser (IE 7)

Posted on 2009-04-13
1
1,080 Views
Last Modified: 2012-05-06
I have web application in ASP + SQL Server. I am using session to validate the logged user. What happens, if user login in a single tab, there is no issue in the session state..if they open multiple tabs with different user session logins, there are no proper results on the page. (i.e it expiry one tab is logged out etc.,) Is there a possibility, different sessions for multiple tab browsers ...
 
how do resolve this in asp?
0
Comment
Question by:Loganathan Natarajan
1 Comment
 
LVL 12

Accepted Solution

by:
Dimitris earned 250 total points
ID: 24129144
one Internet explorer window was one session
Multiple Tab's within the same Internet explorer windows shares the same session also.

The mess up of that data you are experiencing are due to that reason.  
One tab has as login the user "A" then the user on a second tab logins as "B" and the tab of login "A" changes to user "B".

what you have to do is not to allow the user to login again if he has already logged in to the system.

Let's say that your login page is the default.aspx
You have to check on the page load that the user is not logged in, if he is logged in to your system then redirect him to the next page of your site (the page after the successful login). If not then you can allow him to login

And before you ask I have to say that there is no way to have a different session per tab

Hope that I could help
 
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now