Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Login Session maintain Problem  RSS feed

 
ashish jadhav
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I've been working on a socket program to connect to a server to send some commands. and total programming is in java. It's actually like this, I have four java classes one Login,ready,Notready, and Logout. when I run login program then successfully connects to server and after login I run quickly Ready program and it works. but when I run Ready program after 3,4 second after Login, Ready program through an Error : Resource in Logoff. means when we Login after few seconds connection goes to Logoff automatically. Here i am unable to establish a proper session.
Can anyone please help me how to maintain session in this case??
 
Joe Ess
Bartender
Posts: 9428
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What kind of server are you logging into?
What mechanism does the server use to track your session?
Are you actually running different programs to log in and do processing?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!