Solved

session issue in multiple tab browser (IE 7)

Posted on 2009-04-13
1
1,081 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Css expand Div to fit its content (Of other divs) 4 53
Forcing form refresh - classic ASP 7 67
Save ms data to server side. 19 46
Adding Row and Cell on a table 14 20
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

810 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