473,396 Members | 2,082 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,396 software developers and data experts.

Weird problem with an ASP.NET application and Session Variables that mess up

Hi, the webserver is a

HP ProLiant DL380 G3
1GB RAM
Dual U320 SCSI
COMPAQ Smart Array 5i + Battery Pack installed
N°2 (RAID 1) COMPAQ BD072863B2 - 72.8GB Ultra320, 10K Hot-pluggable, 1"
Windows 2000 Server SP4 + all patches downloaded by Windows Update
SQL Server 2000 + SP3a

I have a weird problem with an ASP.NET application.
The database that the application uses is 1GB+ large, and the query that the
application runs are nearly heavy.
I have done the SQL Profiling for 24hours (done in a typical working day)
and I used the Indexes Tuning.
What happens is that when the number of users reach about 25/30 people (i
know, it's so a little number of users) it seems that the session's
variables mess up: a user see the result of a query regarding another users,
he sees labels that should not see, and other funny mistakes.
If i restart the computer, or if i simply stop the aspnet_wp.exe process,
all return to work correctly.

When we had only 5/10 people that used the website, no problem was found.

I hadn't write the code by myself, i know it could be a little heavy, but i
can ask something to the developer if you want.

Any idea?

Thank you for the aid,
Marco


Nov 19 '05 #1
2 1395
its probably a bug in the code. the most common cause of this problem is
storing session data in a static or vb module (whose public varaiables are
actually static). when is is done, and two users access the website at the
same time, they see each others data.

-- bruce (sqlwork..com)
"M. Simioni" <ma*********************@TOCONTACTMEemail.it> wrote in message
news:da**********@news.ngi.it...
Hi, the webserver is a

HP ProLiant DL380 G3
1GB RAM
Dual U320 SCSI
COMPAQ Smart Array 5i + Battery Pack installed
N°2 (RAID 1) COMPAQ BD072863B2 - 72.8GB Ultra320, 10K Hot-pluggable,
1"
Windows 2000 Server SP4 + all patches downloaded by Windows Update
SQL Server 2000 + SP3a

I have a weird problem with an ASP.NET application.
The database that the application uses is 1GB+ large, and the query that
the
application runs are nearly heavy.
I have done the SQL Profiling for 24hours (done in a typical working day)
and I used the Indexes Tuning.
What happens is that when the number of users reach about 25/30 people (i
know, it's so a little number of users) it seems that the session's
variables mess up: a user see the result of a query regarding another
users,
he sees labels that should not see, and other funny mistakes.
If i restart the computer, or if i simply stop the aspnet_wp.exe process,
all return to work correctly.

When we had only 5/10 people that used the website, no problem was found.

I hadn't write the code by myself, i know it could be a little heavy, but
i
can ask something to the developer if you want.

Any idea?

Thank you for the aid,
Marco

Nov 19 '05 #2
I agree with Bruce, i also think that there is a bug in the code.

If i were to debug this, i would start to look at the code that is storing
and accessing data that is mixed up between the users.

Really difficult to point at something specific.
--
Regards,
Kristofer Gafvert (IIS MVP)
www.gafvert.info - My Articles and help
www.ilopia.com
M. Simioni wrote:
Hi, the webserver is a

HP ProLiant DL380 G3
1GB RAM
Dual U320 SCSI
COMPAQ Smart Array 5i + Battery Pack installed
N°2 (RAID 1) COMPAQ BD072863B2 - 72.8GB Ultra320, 10K Hot-pluggable, 1" Windows 2000 Server SP4 + all patches downloaded by Windows Update
SQL Server 2000 + SP3a

I have a weird problem with an ASP.NET application.
The database that the application uses is 1GB+ large, and the query that the application runs are nearly heavy.
I have done the SQL Profiling for 24hours (done in a typical working day)
and I used the Indexes Tuning.
What happens is that when the number of users reach about 25/30 people (i
know, it's so a little number of users) it seems that the session's
variables mess up: a user see the result of a query regarding another users, he sees labels that should not see, and other funny mistakes.
If i restart the computer, or if i simply stop the aspnet_wp.exe process,
all return to work correctly.

When we had only 5/10 people that used the website, no problem was found.

I hadn't write the code by myself, i know it could be a little heavy, but i can ask something to the developer if you want.

Any idea?

Thank you for the aid,
Marco

Nov 19 '05 #3

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

Similar topics

10
by: Mark H | last post by:
Hey all-- I'm building a database and I basically need to keep out people who aren't authorized, but it's not like I need top security here. I'm just doing basic user/pass of a SQL database, and...
7
by: Adam Short | last post by:
I'm having all sorts of problems with Sessions, I've been using them for years with out a hitch, all of a sudden the last 6 - 12 months since getting our new Win2003 server it's all gone shakey!!!...
2
by: Earl Teigrob | last post by:
I am programming ASP.NET using C#. I have been accessing static variables accross my entire application but now need to change some of the static variables that are session specific to instance...
9
by: William LaMartin | last post by:
I have a problem, mentioned here before, of Session and Application variables disappearing at one site but not at others or on my development computer. The problem is illustrated by an example...
1
by: shalin | last post by:
I am having a strange problem in my ASP.NET application. When multiple users access the web site, the changes done by a user gets reflected in another users session. I have some global...
3
by: Philip Tepedino | last post by:
I'm having an odd problem. My website's session state is getting shared between users! This problem only happens when a user tries to access the site from inside our corporate LAN. The user,...
6
by: John Rivers | last post by:
hi, here is how to do it and restore sanity to aspx html rendering: (please only reply with sensible architectural discussion - juan) put this at the end of an aspx file (or use an include at...
3
by: Leo | last post by:
Can anyone help or offer some explanation with this problem: I'm trying to do a POST from one of my PHP pages, to another page on my site using curl. To maintain the session I'm sending the...
10
by: isynclere | last post by:
Hi all, I am stuck with a very strange session prob. Developing on locahost. Have just gone back to a project I was working on to check all is ok and the login function is no longer working...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...
0
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,...

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.