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