Thank you very much.
I'll study sscce.
And i have figure out my problem by change my logic process,^_^.
发件人: Glyph
发送时间: 2014-04-01 16:56
收件人: Twisted general discussion
主题: Re: [Twisted-Python] Using cred, how to prevent the user repeat-login?
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
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python