Skip to content
Myr

Add cookie size limit note to sessions section.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Result of discussion with jujule_ on #pocoo irc.

authored by Ron DuPlain · committed by Ron DuPlain · parent 5a1bef4 · Browse files · 1 file+7 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+7 added−0 removed

  • other:+7 added−0 removed

1 file+7 added−0 removed

modified:docs/quickstart.rst+7 added
796 unmodified lines
797 '\xfd{H\xe5<\x95\xf9\xe3\x96.5\xd1\x01O<!\xd5\xa2\xa0\x9fR"\xa1\xa8'798799 Just take that thing and copy/paste it into your code and you're done.800801A note on cookie-based sessions: Flask will take the values you put into the802session object and serialize them into a cookie. If you are finding some803values do not persist across requests, cookies are indeed enabled, and you are804not getting a clear error message, check the size of the cookie in your page805responses compared to the size supported by web browsers.806807808Message Flashing809----------------810811Good applications and user interfaces are all about feedback. If the user
50 unmodified lines