473,320 Members | 2,052 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Duplicate Session ID across multiple IE windows

I'm having a problem with Session ID being duplicated across multiple IE
windows.

I edited the web.config for my ASP.net web application to display trace
information on the page.

I open an IE window and navigate to the home page of my ASP.net app, and
note the Session ID that was assigned.

I then type CTRL-N to open a new IE window. The session ID displayed on the
page in my second IE window is identical to the session ID in the first.

This is causing a problem if I try to work alternately between the pages. I
have a page which dynamically loads user controls, and if the two windows try
to load different user controls, I get exceptions about the viewstate tree
structure not being the same. Also, I can have a problem with window 1
reading a record from the database, window 2 reading a different window, then
window 1 posting back and saving its data into the record read by window 2.

Is there a way to force IE to get a new Session ID when a window is opened
using CTRL-N?

Thanks,
--
Jim Tilson
MCP
Nov 19 '05 #1
2 7979
"=?Utf-8?B?SmltIFRpbHNvbg==?=" <ji*******@nospam.nospam> wrote in
news:AC**********************************@microsof t.com:
I'm having a problem with Session ID being duplicated across multiple
IE windows.
Yes this is normal - IE shares sessions across windows.

I then type CTRL-N to open a new IE window. The session ID displayed on the page in my second IE window is identical to the session ID in
the first.
This is normal.

This is causing a problem if I try to work alternately between the
pages. I have a page which dynamically loads user controls, and if the
two windows try to load different user controls, I get exceptions
about the viewstate tree structure not being the same. Also, I can
have a problem with window 1 reading a record from the database,
window 2 reading a different window, then window 1 posting back and
saving its data into the record read by window 2.

Is there a way to force IE to get a new Session ID when a window is
opened using CTRL-N?


Try launching a brand new session of IE instead of using CTRL-N.

If this doesn't work, you may have to use another browser (i.e.
Firefox).
--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 19 '05 #2
You may want to double check but it looks like you have some state server
side also ?

Could it cause this confusion. What triggers this is the record erasing one
problem ? How do you know which record should be saved ?

Patrice

--

"Lucas Tam" <RE********@rogers.com> a écrit dans le message de
news:Xn***************************@127.0.0.1...
"=?Utf-8?B?SmltIFRpbHNvbg==?=" <ji*******@nospam.nospam> wrote in
news:AC**********************************@microsof t.com:
I'm having a problem with Session ID being duplicated across multiple
IE windows.


Yes this is normal - IE shares sessions across windows.

I then type CTRL-N to open a new IE window. The session ID displayed
on the page in my second IE window is identical to the session ID in
the first.


This is normal.

This is causing a problem if I try to work alternately between the
pages. I have a page which dynamically loads user controls, and if the
two windows try to load different user controls, I get exceptions
about the viewstate tree structure not being the same. Also, I can
have a problem with window 1 reading a record from the database,
window 2 reading a different window, then window 1 posting back and
saving its data into the record read by window 2.

Is there a way to force IE to get a new Session ID when a window is
opened using CTRL-N?


Try launching a brand new session of IE instead of using CTRL-N.

If this doesn't work, you may have to use another browser (i.e.
Firefox).
--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Brad | last post by:
Hi everyone, I've been using ASP on a few different projects over the past year, either using Javascript or VBScript. During that time, I've made use of session variables, but even then, I've...
9
by: Pack Fan | last post by:
I've noticed that session variables will persist on Mac IE even after all browser windows have been closed. One must quit the program to clear the session variables. This presents a security risk...
2
by: TaeHo Yoo | last post by:
Hi all, I have a solution which contains multiple projects. Those multiple projects should share the same session. For example, users login, create the session for users then these session...
2
by: Marcio Kleemann | last post by:
I've run across some very strange behavior when running and debugging an asp.net application. I have created a shortcut to the URL of the app (which runs locally on IIS under XP Pro). If I use the...
1
by: yoshibebe | last post by:
Hi, I have developed a project on my local machine. The session state variables are working fine on my local machine. When I port it into a another server called v-projects, and I try to run the...
3
by: masoud bayan | last post by:
Hi, We have 3 different web applications on three different websites (and domains). Now we want to make it possible for users to login in each of these applications and can navigate to other...
9
by: McGeeky | last post by:
Is there a way to get a user control to remember its state across pages? I have a standard page layout I use with a header and footer as user controls. Each page uses the same layout by means of...
20
by: p175 | last post by:
Hi people, I have a stored procedure that creates many Global temporary session tables. Into each of these tables go the results of various processing using relational division all keyed and...
9
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...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
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...
1
isladogs
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...
0
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...
0
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...
0
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...
1
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....
0
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
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.