Flask: session max size too small

前端 未结 1 1616
伪装坚强ぢ
伪装坚强ぢ 2021-01-18 23:43

I\'m building a data analysis Flask application which takes a ton of user inputs, performs some calculations then projects the results to various web pages. I\'m using a pan

相关标签:
1条回答
  • 2021-01-18 23:56

    Yeah this definitely sounds like a case for server-side sessions.
    There are code snippets on the official site for the most popular databases.

    These shouldn't be hard to migrate to since they use the same SessionMixin interface as the cookie session system.

    An even easier approach could be to use Flask-KVSession, which claims that

    Integration with Flask is seamless, once the extension is loaded for a Flask application, it transparently replaces Flask’s own Session management. Any application working with sessions should work the same with Flask-KVSession

    0 讨论(0)
提交回复
热议问题