I am currently working on development of an application in jsp/java. However, I have a problem, which I am not sure how to solve. If I open two browsers on the same computer and login into application as two different users, after some clicks, one of the users becomes the other user. In other words, both browsers will now display his or her name at the top.. and both will have access to the same functionality. This is very dangerous as I want to restrict certain users from accessing certain functions. Refreshing the page doesn't work, so I was thinking that maybe it's a server-side caching. Does anyone have any ideas? Please help! Thank you very much. Best, Alenka
This is most likely because the browser instances are sharing cookies. Since a cookie is used to maintain the session, the instances are getting their sessions confused. IE is strange in that some browser instances share cookies, and others do not. It all depends on how you spawned the instances. bear
the problem is how do you do to maintain sessions ?! if using cookies could happen what Bear said ..... in other cases, is just strrrrraaaaaaaaaaaaange , there is a problem in your architecture , try to put in session the userId logged and....build any page after checking the user logged value in session :-))) w.s.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com