Thanks very much for your reply. Now I know how to do.
elihusmails wrote: > > pulling the plug can lead to undesirable results in all systems. > > As for your login problem, my guess is that you will have to add some > more logic to your login system to account for the fact that a user > may log in twice from the same remote IP. What I have done in the > past is when a user logs in a second time, invalidate the first > session and related information and use the second login. > > > On 10/29/07, Lenney <[EMAIL PROTECTED]> wrote: >> >> Hi,every body, >> >> Mybe it's the Java NIO's problem. >> >> I deploy a program to a remote server, and run a client program to >> connect >> to it. >> >> Then I disable my client's network ( remove the line from NIC of my >> computer),but now the server can not receive the session close event, so >> the >> server can't remove the session from a HashMap( I define a HashMap to >> store >> the login information). >> >> Then I enable my client's network( reconnected the line to NIC of my >> computer),and try to login, due to login information are still stored in >> a >> HashMap, so it fail. >> >> How to solve this problem? >> >> I sorry that my English is not very good. >> >> -- >> View this message in context: >> http://www.nabble.com/A-Serious-Problem-tf4716123s16868.html#a13481635 >> Sent from the Apache MINA Support Forum mailing list archive at >> Nabble.com. >> >> > > > -- > -------------------------------- > The adjuration to be "normal" seems shockingly repellent to me; I see > neither hope nor comfort in sinking to that low level. I think it is > ignorance that makes people think of abnormality only with horror and > allows them to remain undismayed at the proximity of "normal" to > average and mediocre. For surely anyone who achieves anything is, > essentially, abnormal. > Dr. Karl Menninger > > -- View this message in context: http://www.nabble.com/A-Serious-Problem-tf4716123s16868.html#a13481834 Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.
