We have developed an web application that is accessed by multiple users (say 1000) concurrently. It is developed using struts framework and entire session tracking is done using HttpSession object. Now the problem is - - the application is opened in two sepearte browser instances on the same machine. - Two different userIds are used to log in. - After continuously working within two application, some times the user data is inter-mixed; i.e. values specific to say user1 starts getting displayed for user2 or vice-a-versa.
make sure that all local variables are declared INSIDE the execute method of your action. also, if you manipulate cookies to obtain information, testing browser sessions should be done on different computers, not simply by openning another browser.
-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>
Joined: Feb 08, 2005
all local variables are declared INSIDE the execute method of action class still
Originally posted by san: all local variables are declared INSIDE the execute method of action class still
Welcome to JavaRanch. We don't have many rules here, but we do have a naming policy which we try to strictly enforce. Please re-read this document and edit your display name in order to comply. Thanks in advance, and we look forward to seeing you around the Ranch.