On Mar 31, 2014, at 6:45 PM, yangyouxiu <yangyou...@gmail.com> wrote:

> In my Client-Server Application,I do not want two user login with the same 
> login name.
>  
> For example, user1 logined with name "test1",then user2 try to login with 
> "test1" too, the login of user2 should be denied. At now, my code could not 
> achieve this goal,so what's the method.
> Thanks all!

This is more of a basic Python programming question than a Twisted question; 
however, I'm sure you'd find some people willing to help, except...:

> The following is server code:

When I run this code, nothing happens.  Which is not surprising, because it 
simply defines some classes.

Please consider attaching a http://www.sscce.org/ so that those of us who might 
help you out can start from a position where your whole program is working 
rather than having to guess about what the rest of your code looks like.

Thanks!

-glyph

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to