I have an application where I store
numerous values in servelt/jsp session for each user who logs in.
I use the values to limit sql statements and other things.
My problem is that I have noticed that the session values/objects seem to get over written when a new user logs in.
for example, I place a vector in to the
session:
session.putValue("logonDisIDVec",discountGrpID);
When I get the values on a jsp, or servlet, the value is correct the first time, but
sooner or later gets replaced by another users' vector. I am running WebSphere 4.0
on IIS. Java 1.3.
My only thought is to prefix the session id
to every object I put into the session for each user.
session.putValue(sessionId+"logonDisIDVec",discountGrpID);
Does anyone have experience in this matter?