473,549 Members | 2,741 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Stored Session object is mixed up with another user's session object.

I have a big problem. Most case it's working well but sometime the
below happens.

User A on computer B gets session object created by user X on computer
Y instead of getting session object saved by User A. It means Session
ID is changed.

Is it possible? Have anyone seen this?

Server is windows 2003.
In web.config.
....
<sessionState
mode="InProc"
stateConnection String="tcpip=1 27.0.0.1:42424"
sqlConnectionSt ring="data
source=127.0.0. 1;Trusted_Conne ction=yes"
cookieless="fal se"
timeout="600"
/>

Oct 12 '06 #1
2 1840
nahhhh...

just try yourself with Firefox and IE on teh same page, tur trace ON and
check the session id for both.

something in your code is wrong... I had thoose problems in ASP and I had to
reduce the amount of session variables to work perfectly, and now in asp.net
2.0 I use SQL Session and never got any problems (and I have a lot of web
applications online with several users on them everytime)

--

Bruno Alexandre
København, Danmark

"a portuguese in Denmark"
"momo898" <mo*****@yahoo. comescreveu na mensagem
news:11******** ************@i3 g2000cwc.google groups.com...
>I have a big problem. Most case it's working well but sometime the
below happens.

User A on computer B gets session object created by user X on computer
Y instead of getting session object saved by User A. It means Session
ID is changed.

Is it possible? Have anyone seen this?

Server is windows 2003.
In web.config.
...
<sessionState
mode="InProc"
stateConnection String="tcpip=1 27.0.0.1:42424"
sqlConnectionSt ring="data
source=127.0.0. 1;Trusted_Conne ction=yes"
cookieless="fal se"
timeout="600"
/>

Oct 12 '06 #2
most likely its a coding error on your part. you are probably store session
in a vb module variable. vb module variables are statics so there is only
one value for all page request. a value set by one request, is the value all
other requests (threads) see.

-- bruce (sqlwork.com)
"momo898" <mo*****@yahoo. comwrote in message
news:11******** ************@i3 g2000cwc.google groups.com...
>I have a big problem. Most case it's working well but sometime the
below happens.

User A on computer B gets session object created by user X on computer
Y instead of getting session object saved by User A. It means Session
ID is changed.

Is it possible? Have anyone seen this?

Server is windows 2003.
In web.config.
...
<sessionState
mode="InProc"
stateConnection String="tcpip=1 27.0.0.1:42424"
sqlConnectionSt ring="data
source=127.0.0. 1;Trusted_Conne ction=yes"
cookieless="fal se"
timeout="600"
/>

Oct 12 '06 #3

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

Similar topics

0
1380
by: Luis | last post by:
I'm using a SQL Server 2000 stored procedure similar to the one below to upload data to a database. This data is collected from the user on a number of asp pages and stored in session variables (that's the way I inherited the system...). When the user has captured all the info and clicks the submit button the stored procedure is called and it...
0
1234
by: Sebastian | last post by:
Hello, I've implemented an ASP.NET Application that is used by many people concurrently. Each user logs on using Forms Authentication (authentication against Active Directory). After logon succeeded, additional data are saved into the session state (Session = new CDE()) for the user that just logged on. The problem now is that, if we...
5
1719
by: Andy G | last post by:
I have a registration page that captures 75% of the users data. After they enter that info they are redirected to one of two pages depending on how they answered a question on the registation page. My question is would it be better to store all of the fields(15 or so) from the first page in session variables and reference them from the next...
3
1078
by: Benny Ng | last post by:
Hi,all, In the traditional ASP development.We usually used Session to stored the user info(user name,user type,etc.). And in the .NET development. We perfer to used Session or Cache to stored it? And some articles prompted that this two methods also can solved that.But i really don't know which is the best choice for my application...
14
4813
by: Lauri Kotilainen | last post by:
Hi, I've already tried several avenues for this, and am quite stumped. The issue I'm facing is a weird case of sessions getting mixed up (ie. users seeing each others' data). Apparently this happens at peak load times. The configuration is W2K3 with ASP.NET 1.1, IIS6.0, Cookieless sessions and SQL Server as a Session State backend. The...
6
5067
by: divya | last post by:
I have a page name edit.asp which should expire immediately .The user cannot open this page directly he has to provide a password for entering this page.thus when the user enters edit.asp , it has a button EDIT ,which when user clicks directs him to another page (done.asp). Now the problem is that from this page (done.asp) if he clicks on the...
4
2861
by: rgparkins | last post by:
Hello I am running out of time with a problem I have running PHP 5.04 and Apache 2.0 and really need help :(. I have a page that stores a variable in session but each time I reload that page the session seems to be re-created and is an empty array. I have checked the session file and the variable is being stored against the session id, but...
3
9907
by: LataChavan | last post by:
I have tried to look for a solution to the problem of sending parameters to stored procedures through crystal report. Following is the code: Now what happens is that if i do not apply the logon information the crystal reports works fine by accepting the parameter values and giving the Database Logon prompt when we run the report. But I would...
0
1830
by: Jeff | last post by:
ASP.NET 2.0 My webpage has a GridView showing rows from a table in the database. All these rows are stored in the session object -what's actually stored is generic list of objects, as this: List<Messagemessages = null; messages = (List<Message>)HttpContext.Current.Session; The user should be able to mark one or several rows in the...
0
7520
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...
0
7450
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
7720
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7957
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...
1
7470
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...
0
6043
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...
0
3500
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...
0
3481
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1059
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.