推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
zjxubinbin
V2EX  ›  Python

关于用户登录相关的Session处理,你们是用什么解决方案的

  •  
  •   zjxubinbin · Jul 10, 2013 · 4221 views
    This topic created in 4891 days ago, the information mentioned may be changed or developed.
    Bottlepy框架本身没有集成什么session处理,Pypi上面倒是有一些插件可以完成
    6 replies  •  1970-01-01 08:00:00 +08:00
    Feobe
    Feobe
    Jul 10, 2013
    1
    不清楚py。php里可session默认autoStart。YII是用会话类CHttpSession。
    jander
    jander
    Jul 10, 2013
    2
    cloverstd
    cloverstd
    Jul 10, 2013 via Android
    3
    记录用户登录状态是用 session 保存在服务器端好,还是用 cookies 保存在客户端好呢?
    BOYPT
    BOYPT
    Jul 10, 2013❤️1
    4
    @cloverstd 严肃场合保存服务器,简单非重要数据可以保存用户cookies。
    raptor
    raptor
    Jul 10, 2013
    6
    bottlepy可以用beaker,beaker可以选择多种方式处理,用文件最简单
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2343 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 13:44 · PVG 21:44 · LAX 05:44 · JFK 08:44
    ♥ Do have faith in what you're doing.