i have a problem in a project that i am implementing. what i m trying to do is logging into my application via two different users then clicking on a button simultaneously and the result should be that both users see two different outputs from database, two different pages. i am not using Connection pooling, i am using a different framework. can anyone suggest a simple way to resolve the problem.
Please provide more details about your application and problem. Is this a web application? Or is it a client/server application? Please specify the technologies used such as servlets, struts, swing, etc. How does the user login to the application and where is that information stored? When you connect to the database, are you using the logged on user's credentials? Or is your SQL different for each user? Does the application work when you don't simultaneously click the buttons? Does it sometimes work but other times not?