M
Multicoder4002
Hi.
I'm programming a servlet that has to handle many client requests. The
problem is that the communication with more that one client
application is not working properly... here it is :
1 servlet (handling post requests only)
2 client applications (threads)
- client app 1 sends username_client_1
- client app 2 sends username_client_2
- client app 1 sends password_client_1
==> here, the servlet sometimes understands the login information as :
login=username_client_1 and password=password_client_2, instead of
login=username_client_1 and password=password_client_1
the same thing is happening in all the processes... I've tried to use
HttpSession object but that does not help me very much (we cannot
distinguish many clients all along the servlet process..)
If anyone helps thanks in advance...
see ya
I'm programming a servlet that has to handle many client requests. The
problem is that the communication with more that one client
application is not working properly... here it is :
1 servlet (handling post requests only)
2 client applications (threads)
- client app 1 sends username_client_1
- client app 2 sends username_client_2
- client app 1 sends password_client_1
==> here, the servlet sometimes understands the login information as :
login=username_client_1 and password=password_client_2, instead of
login=username_client_1 and password=password_client_1
the same thing is happening in all the processes... I've tried to use
HttpSession object but that does not help me very much (we cannot
distinguish many clients all along the servlet process..)
If anyone helps thanks in advance...
see ya