<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em; MARGIN-TOP: 0px
}
OL {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
UL {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
DIV.FoxDiv20140402091452112570 {
WORD-WRAP: break-word; COLOR: #000000; -WEBKIT-NBSP-MODE: SPACE; -WEBKIT-LINE-BREAK: AFTER-WHITE-SPACE
}
P {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
BODY {
FONT-SIZE: 10.5pt; FONT-FAMILY: 微软雅黑; COLOR: #000000; LINE-HEIGHT: 1.5
}
</STYLE>
<META name=GENERATOR content="MSHTML 11.00.9600.16521"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>Thank you very much.</DIV>
<DIV>I'll study sscce.</DIV>
<DIV>And i have figure out my problem by change my logic process,^_^.</DIV>
<DIV
style="BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; PADDING-BOTTOM: 0cm; PADDING-TOP: 3pt; PADDING-LEFT: 0cm; BORDER-LEFT: medium none; PADDING-RIGHT: 0cm">
<DIV
style="FONT-SIZE: 12px; FONT-FAMILY: tahoma; BACKGROUND: #efefef; COLOR: #000000; PADDING-BOTTOM: 8px; PADDING-TOP: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px">
<DIV><B>发件人:</B> <A href="mailto:glyph@twistedmatrix.com">Glyph</A></DIV>
<DIV><B>发送时间:</B> 2014-04-01 16:56</DIV>
<DIV><B>收件人:</B> <A href="mailto:twisted-python@twistedmatrix.com">Twisted
general discussion</A></DIV>
<DIV><B>主题:</B> Re: [Twisted-Python] Using cred, how to prevent the user
repeat-login?</DIV></DIV></DIV>
<DIV>
<DIV class=FoxDiv20140402091452112570 style="BACKGROUND-COLOR: white"><BR>
<DIV>
<DIV>On Mar 31, 2014, at 6:45 PM, yangyouxiu <<A
href="mailto:yangyouxiu@gmail.com">yangyouxiu@gmail.com</A>> wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<DIV>In my Client-Server Application,I do not want two user login with the
same login name.</DIV>
<DIV> </DIV>
<DIV>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.</DIV>
<DIV>Thanks all!</DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>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...:</DIV><BR>
<BLOCKQUOTE type="cite">
<DIV>
<DIV
style="WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT: 14px/21px 微软雅黑; LETTER-SPACING: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">The
following is server code:</DIV></DIV></BLOCKQUOTE><BR></DIV>
<DIV>When I run this code, nothing happens. Which is not surprising,
because it simply defines some classes.</DIV>
<DIV><BR></DIV>
<DIV>Please consider attaching a <A
href="http://www.sscce.org/">http://www.sscce.org/</A> 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.</DIV>
<DIV><BR></DIV>
<DIV>Thanks!</DIV>
<DIV><BR></DIV>
<DIV>-glyph</DIV><BR></DIV></DIV></BODY></HTML>