摘要:
介绍 主要方法 主要属性 文件结构 Python代码 import tornado.ioloop import tornado.web import json class LoginHandler(tornado.web.RequestHandler): def get(self): self.re 阅读全文
摘要:
cookie 服务端在客户端的中写一个字符串,下一次客户端再访问时只要携带该字符串,就认为其是合法用户。 tornado中的cookie有两种,一种是未加密的,一种是加密的,并且可以配置生效域名、路径、过期时间。 文件目录 Python代码 import tornado.ioloop import 阅读全文