I am trying to identify a problem that has just been reported to our
team. It seems that when a user opens 2 browsers, and with the second
browser, the user logs into our web application (ASP.NET), then the
session for that browser is not transferred to any new browsers that
are spawned using the javascript window.open statement.
However, if the user logs into the web app using the first browser
instance (not the second), then all is fine.
In debugging, we can see the SessionID and it seems that the browser
that is created use the Session from the first browser. What are we
doing wrong?
Any ideas/help would be great. 3 2159
You're not going to like this, but I typically recommend to not use Sesison
state if possible. If you are going to use it, then you need to code it in
such a way to avoid the multiple browser issue. IOW, write the code to assume
the user always has 2 (or 3 or 4) browsers open.
-Brock
DevelopMentor http://staff.develop.com/ballen I am trying to identify a problem that has just been reported to our team. It seems that when a user opens 2 browsers, and with the second browser, the user logs into our web application (ASP.NET), then the session for that browser is not transferred to any new browsers that are spawned using the javascript window.open statement.
However, if the user logs into the web app using the first browser instance (not the second), then all is fine.
In debugging, we can see the SessionID and it seems that the browser that is created use the Session from the first browser. What are we doing wrong?
Any ideas/help would be great.
Correct. When you open a new browser window without
it coming from a page in your app, a new browser session
is created. It works this way with most browsers.
--
2004 and 2005 Microsoft MVP C#
Robbe Morris http://www.masterado.net
Earn $$$ money answering .NET Framework
messageboard posts at EggHeadCafe.com. http://www.eggheadcafe.com/forums/merit.asp
<ja*************@uhc.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com... I am trying to identify a problem that has just been reported to our team. It seems that when a user opens 2 browsers, and with the second browser, the user logs into our web application (ASP.NET), then the session for that browser is not transferred to any new browsers that are spawned using the javascript window.open statement.
However, if the user logs into the web app using the first browser instance (not the second), then all is fine.
In debugging, we can see the SessionID and it seems that the browser that is created use the Session from the first browser. What are we doing wrong?
Any ideas/help would be great.
Correct. When you open a new browser window without
it coming from a page in your app, a new browser session
is created. It works this way with most browsers.
--
2004 and 2005 Microsoft MVP C#
Robbe Morris http://www.masterado.net
Earn $$$ money answering .NET Framework
messageboard posts at EggHeadCafe.com. http://www.eggheadcafe.com/forums/merit.asp
<ja*************@uhc.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com... I am trying to identify a problem that has just been reported to our team. It seems that when a user opens 2 browsers, and with the second browser, the user logs into our web application (ASP.NET), then the session for that browser is not transferred to any new browsers that are spawned using the javascript window.open statement.
However, if the user logs into the web app using the first browser instance (not the second), then all is fine.
In debugging, we can see the SessionID and it seems that the browser that is created use the Session from the first browser. What are we doing wrong?
Any ideas/help would be great. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: mrbog |
last post by:
Tell me if my assertion is wrong here:
The only way to prevent session hijacking is to NEVER store
authentication information (such as name/password) in the session.
Well, to never authenticate...
|
by: Darrin J Olson |
last post by:
I am trying to end a session for a site without having to completely close
the browser to end it.
When I access the site and log in it works fine. If I log out and in with a
different account...
|
by: headware |
last post by:
I have an issue that I've been encountering in an ASP application I'm
working on. Most of the application is written in ASP, but there is one
page written in ASP.NET. The ASP.NET page needs to have...
|
by: jack_c_brinegar |
last post by:
I am trying to identify a problem that has just been reported to our
team. It seems that when a user opens 2 browsers, and with the second
browser, the user logs into our web application...
|
by: bill |
last post by:
I am developing a replacement of a VB6 web class application, using VB.NET
2005 web forms to replace the VB6 dll application.
When debugging the VB6 web application, I found that if I have two or...
|
by: Tarun Mistry |
last post by:
Hi everyone,
thought my current testing, it seems a new session is opened for a user per
browser window. I would like my sessions to track based on the machine, i.e.
once per machine.
What...
|
by: jaibux |
last post by:
Everybody knows how to open (or clone) the same page that you are
viewing in a new browser window by CTRL+N or via File->New Window. the
question is how to PREVENT to open the SAME WEB APPLICATION...
|
by: jediknight |
last post by:
Is it possible to programmatically stop multiple browsers from getting
the same session state?
The problem I have is that whenever I open a new browse using File-
I would like to stop this...
|
by: =?Utf-8?B?VmlqYXkgQ2hpa3Rl?= |
last post by:
Hi Experts,
With Session Affinity and Web Server Farm on ISA Server 2006 accessing 2
backend IIS servers, I’m getting error “Validation of ViewState MAC failed.
If this application is hosted...
|
by: Josh |
last post by:
I run a Joomla website and am familiar with php in some but not all
aspects. Currently I am trying to find some solutions related to
session handling.
Am I correct in saying that "login" is kept...
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
| |