Tornado Documentation
http://www.v2ex.com/tornado/
Tornado on GitHub
https://github.com/facebook/tornado/
Tornado Gists
http://tornadogists.org/
sun391
V2EX  ›  Tornado

tornado防止重复提交form,一般是怎么做的?

  •  
  •   sun391 · Sep 27, 2012 · 6224 views
    This topic created in 5009 days ago, the information mentioned may be changed or developed.
    form提交后的页面要显示一些信息什么的,
    一般都是302跳转到页面从session里取出保存的提示信息显示出来,
    tornado没有session那要怎么做呢?



    总觉得全放cookie太蛋疼
    3 replies    1970-01-01 08:00:00 +08:00
    SErHo
        1
    SErHo  
       Sep 27, 2012
    感觉问题和描述不沾边。用 cookie 有什么蛋疼的,一般提示信息都比较小,cookie就够了。
    如果要使用session,可以自己扩展一个。
    sillyousu
        2
    sillyousu  
       Sep 27, 2012
    ajax
    CoX
        3
    CoX  
       Sep 27, 2012
    disabled submit
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1756 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 16:19 · PVG 00:19 · LAX 09:19 · JFK 12:19
    ♥ Do have faith in what you're doing.