473,703 Members | 2,886 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 1641
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
14526
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 session.use_cookies to 0 in the php.ini file. after doing this, the session no longer persits after
5
3281
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 a number of problems including the following: - I have to manually marshall the state to and...
1
2963
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 information being stored in viewstate. I'm currently looking for a solution to resolve the problem 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 stored in an array (not much going on to save to a
18
3438
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 the usefullness of using session state management. I probably missed it somewhere - can...
3
3692
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
8667
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
1840
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 of reports that where users said they logged on and saw another user's data. On this site, there...
0
8744
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8659
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9103
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8996
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8952
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7846
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4417
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4674
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3113
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

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.