473,554 Members | 2,984 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Session State problems for multiple users

Hi,

Hopefully somebody can help me...

The development team I work in has created a large application that has
started displaying some nasty bugs which we think are being caused by
the session state.

When a single user logs in, their location ID is assigned to the
session state. This location ID persists until the browser session is
closed and no bugs appear.

However, when another user logs in, using a different location ID, the
original user's session state changes to show the new user's location
ID!

Sometimes, the location ID held within the session state 'swaps'
between users e.g. I log on as location 124 and a colleague logs on as
location 230 - suddenly, my location is 230 and my colleague's is 124!

We have checked to ensure that the session ID persists, it's just the
values of the session state that are changed.

Any help will be gratefully received :)

Thanks,

Rob

Jan 2 '07 #1
1 1636
Hi Rob,

It is hard to say without getting a little bit more into the logic of
your application and how exactly you save location in the session
object.
If you can provide a little bit more details it would be easier to
help.
Some snippets of your saving code and the code where you read the
'swapped' value would be helpfull as well.

Best regards,
Valentin Ivanov.

On Jan 2, 11:07 am, "mcbobin" <mcbo...@gmail. comwrote:
Hi,

Hopefully somebody can help me...

The development team I work in has created a large application that has
started displaying some nasty bugs which we think are being caused by
the session state.

When a single user logs in, their location ID is assigned to the
session state. This location ID persists until the browser session is
closed and no bugs appear.

However, when another user logs in, using a different location ID, the
original user's session state changes to show the new user's location
ID!

Sometimes, the location ID held within the session state 'swaps'
between users e.g. I log on as location 124 and a colleague logs on as
location 230 - suddenly, my location is 230 and my colleague's is 124!

We have checked to ensure that the session ID persists, it's just the
values of the session state that are changed.

Any help will be gratefully received :)

Thanks,

Rob
Jan 2 '07 #2

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

Similar topics

7
14518
by: ehendrikd | last post by:
hi all i need some clarification on how the php session work in relation to cookies. we have a web site where users need to log in. a few of our users were having troubles with their browser clients having different levels of cookie security settings. i assumed a solution would be to have the php site use the session only, and set...
5
3276
by: Mike | last post by:
I have the need to keep a substantial amount of session state, but I do not have the option of using the HttpSessionState object. My current scheme for dealing with this is to convert all the state values to strings, place them in the query string of the URL passed to Server.transfer(), and then pull them out again in the next page. This has...
1
2957
by: SteveComplex | last post by:
I'm currently working on a project developing a web application that makes heavy use of 3rd-party controls, popup windows and frames ( not my design I hasten to add ). Some of the pages make use of several user controls embedded in a tab control. Needless to say that the page size can be somewhat on the large size, including a lot of...
5
548
by: Sean | last post by:
Problem with sessions I have created an application without concern for sessions. As it turns out I think that might be my undoing. What I have: I have an online quiz. I don’t need to know users or save any data. If the application crashes or user exits the program they should simply start again. Pretty basic. All interactions are...
18
3416
by: BillE | last post by:
When a user opens a new IE browser window using File-New-Window the integrity of an application which relies on session state is COMPLETELY undermined. Anyone who overlooks the fact that File-New-Window creates an instance of IE in the same process with the same SessionID as the parent window is in big trouble. This fundamentally restricts...
3
3686
by: mcbobin | last post by:
Hi, Hopefully somebody can help me... The development team I work in has created a large application that has started displaying some nasty bugs which we think are being caused by the session state. When a single user logs in, their location ID is assigned to the
13
8638
by: Samir Chouaieb | last post by:
Hello, I am trying to find a solution to a login mechanism for different domains on different servers with PHP5. I have one main domain with the user data and several other domains that need a login to show data. I want the user to login only once when he visits any of my domains.
16
1820
by: Jonathan Wood | last post by:
Greetings, I was wondering if anyone here has a good understaning of the Session object. I know there are options like the Session.Abandon method and the regenerateExpiredSessionId setting, although I do not understand what they do. Can anyone tell me if it's possible for a recycled session to still contain the old data? I had a couple...
0
7521
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7889
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6145
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5436
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5155
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3560
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2020
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1134
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
841
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.