lbfeng
V2EX  ›  Flask

如何为当前用户保存一个变量,并可以在不同的 blueprint 之中使用。

  •  
  •   lbfeng · Jan 19, 2016 · 3065 views
    This topic created in 3838 days ago, the information mentioned may be changed or developed.

    一个变量在新的线程启动时被创建。在不同 blueprint 的 view function 中可以被修改并保存。

    1 replies    2016-01-19 23:01:43 +08:00
    ethego
        1
    ethego  
       Jan 19, 2016   ❤️ 1
    session 、 redis 、 memcache
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1226 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 17:42 · PVG 01:42 · LAX 10:42 · JFK 13:42
    ♥ Do have faith in what you're doing.