Solved

session issue in multiple tab browser (IE 7)

Posted on 2009-04-13
1
1,086 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

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…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

617 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