I have written a java clent code to connect to the server and then login to the server. My login was successful but its not consistent. I had to run the program again and again as there is a request to be sent after login. it was not sucessfull, The problem is login is not consistent. when i run the program multiple times, sometimes it login and sometimes not.
Please help me.