DAOCLOUD
推荐学习书目
› Python Cookbook
› Using Google App Engine
推荐下载
› Latest Google App Engine SDK
其他兼容技术
› AppScale
crazycookie

GAE cookies 和 session 类

  •  
  •   crazycookie · Mar 29, 2011 · 5451 views
    This topic created in 5714 days ago, the information mentioned may be changed or developed.
    找了好久,没有发现简单又好用的Cookie和Session类
    Cookie 类找到的和V2ex github上面一样的
    http://appengine-cookbook.appspot.com/recipe/a-simple-cookie-class/

    Session类 github上面 v2ex 注释中有入下提示:
    # Note - please do not use this for production applications
    Why?

    请推荐下 简单,实用的这几个类
    4 replies  •  1970-01-01 08:00:00 +08:00
    crazycookie
    crazycookie
    OP
    Mar 29, 2011
    1
    https://github.com/livid/v2ex/blob/master/v2ex/babel/ext/sessions.py
    第10行
    10 # Note - please do not use this for production applications
    lepture
    lepture
    Mar 29, 2011
    2
    个人项目使用是没有问题的。。

    而且像v2ex这样子的都在用,你有何不放心的呢?
    dreampuf
    dreampuf
    Mar 29, 2011
    3
    https://github.com/dound/gae-sessions

    gae-sessions is a sessions library for the Python runtime on Google App Engine for ALL session sizes. It is extremely fast, lightweight (one file), and easy to use.
    crazycookie
    crazycookie
    OP
    Mar 30, 2011
    4
    @dreampuf gae-sessions 昨天晚上看了一个晚上 还是觉得很复杂
    于是参考了v2ex的v2ex.babel.ext 很喜欢那种代码的style
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4536 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 03:34 · PVG 11:34 · LAX 19:34 · JFK 22:34
    ♥ Do have faith in what you're doing.