lbfeng
V2EX  ›  Flask

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

  •  
  •   lbfeng · Jan 19, 2016 · 3271 views
    This topic created in 3924 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   ·   Privacy   ·   Solana   ·   2932 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 07:11 · PVG 15:11 · LAX 00:11 · JFK 03:11
    ♥ Do have faith in what you're doing.