<html><head><meta http-equiv="Content-Type" content="text/html charset=GB2312"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><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="font-family: Î¢ÈíÑźÚ; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 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></body></html>