[Flask] Session question
onlinejudge95 at gmail.com
Mon May 18 16:06:08 EDT 2020
On Fri, Apr 17, 2020 at 10:08 PM Ford <ford.anthonyj at gmail.com> wrote:
> Looks like you hit the nail on the head.
> According to Flask-Sessionstore's github repo, it's a hard fork of
> Flask-Session. See https://github.com/mcrowson/flask-sessionstore
> Looks like Flask-Session is no longer being maintained, hence the fork.
It's the other way round, Flask-Session is the maintained one and
> Anthony Ford
> On Thu, Apr 16, 2020 at 11:05 PM Richard Hector <richard at walnut.gen.nz>
>> Thanks Andrew,
>> Now that I know that these exist, I think I'll continue with the
>> tutorial, and get back to this issue later.
>> Both of those seem to have nearly identical documentation - is one a
>> fork of the other?
>> On 17/04/20 2:49 pm, Ford wrote:
>> > Flask uses cryptographically signed cookies, which prevents the user
>> > from being able to modify the cookies. It would however be ill-advised
>> > to store any personally identifiable information or anything critical.
>> > There are server-side options available as extensions, such as
>> > Flask-Session
>> > (https://pythonhosted.org/Flask-Session/,
>> > and Flask-Sessionstore
>> > (https://flask-sessionstore.readthedocs.io/en/latest/).
>> > Anthony Ford
>> > On Thu, Apr 16, 2020 at 9:18 PM Richard Hector <richard at walnut.gen.nz
>> > <mailto:richard at walnut.gen.nz>> wrote:
>> > Hi all, I hope this is the right place to ask.
>> > I've been doing the Flask Mega Tutorial.
>> > It appears that sessions are stored in a cookie/cookies in the
>> > rather than just setting a random session id and storing in the
>> > or whatever. I was under the impression (though I'm a web
>> > newbie) that this wasn't considered best practice. Is there a way to
>> > change this behaviour, to store the session info server-side
>> > Thanks,
>> > Richard
>> > _______________________________________________
>> > Flask mailing list
>> > Flask at python.org <mailto:Flask at python.org>
>> > https://mail.python.org/mailman/listinfo/flask
> Flask mailing list
> Flask at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Flask