user sessions get mixed together !!!

Suppose we have 2 users, A and B.

User A logs on first and after a while user B logs on.

There is a good case that after a while user A will be seeing on his browser the name of user B and will have his privilleges *** well.

I am not sure of how to express this problem and as a result I can't find posts addressing the problem.

Any help will be appreciated, even just a hint on where to look for the solution.

[442 byte] By [markos_da] at [2007-11-27 10:31:12]
# 1

Which application server (and version)?

Which JSF implementation (and version)?

How are the name and privileges of the user stored in the web application?

RaymondDeCampoa at 2007-7-28 18:07:44 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

server is : jboss-4.0.5.GA

jsf is : 1.2

for persistence management we have hibernate

I also use faces and seam

I have to mention that the project was not built by me so I am pretty lost

Message was edited by:

markos_d

markos_da at 2007-7-28 18:07:44 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

You need to determine how the login information is stored by the application.

RaymondDeCampoa at 2007-7-28 18:07:44 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4

Indeed. It just sounds like that the user information is stored in the application scope or in a static reference.

BalusCa at 2007-7-28 18:07:44 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...