烧瓶会话大对象

时间:2018-07-30 13:45:16

标签: python flask flask-session

我试图在Flask Web应用程序的页面之间传递相对较大的字符串。看起来大多数浏览器都不支持大型会话对象。我不断收到此警告:

Cookie is too large: the value was 2651052 bytes but the header required 26 extra bytes. The final size was 2651078 bytes but the limit is 4093 bytes. Browsers may silently ignore cookies larger than this

还有什么其他方法可以在页面之间传递较大的对象,而不必求助于序列化对象并将它们存储在磁盘上(例如,使用Pickle)?

0 个答案:

没有答案