From 5c5a6c492a19adc778285f2c3d7cd61a621e544c Mon Sep 17 00:00:00 2001 From: sidya82 Date: Fri, 28 Feb 2014 07:58:57 +0100 Subject: [PATCH] =?UTF-8?q?=09modifi=C3=A9:=20=20=20=20=20=20=20=20=20supe?= =?UTF-8?q?rTornado.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- superTornado.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/superTornado.py b/superTornado.py index 16bdd21..9fd50ff 100644 --- a/superTornado.py +++ b/superTornado.py @@ -90,7 +90,7 @@ class DisconnectionHandler(BaseHandler): print 'maison.request("GET", "micom/lamp.php?room=salon1&order=0")' print"->"+iden+" Deconnection" - self.set_cookie("user", "0") + self.clear_cookie("user") self.redirect("/") class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler): @@ -115,6 +115,7 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler): def on_close(self): print "->Websocket closed" + self.