<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 17, 2020 at 10:08 PM Ford <<a href="mailto:ford.anthonyj@gmail.com">ford.anthonyj@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Looks like you hit the nail on the head.<div><br></div><div>According to Flask-Sessionstore's github repo, it's a hard fork of Flask-Session. See <a href="https://github.com/mcrowson/flask-sessionstore" target="_blank">https://github.com/mcrowson/flask-sessionstore</a></div><div><br></div><div>Looks like Flask-Session is no longer being maintained, hence the fork.</div></div></blockquote><div>It's the other way round, Flask-Session is the maintained one and Flask-Sessionstore not </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div dir="ltr"><div dir="ltr">Anthony Ford</div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 16, 2020 at 11:05 PM Richard Hector <<a href="mailto:richard@walnut.gen.nz" target="_blank">richard@walnut.gen.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thanks Andrew,<br>
<br>
Now that I know that these exist, I think I'll continue with the<br>
tutorial, and get back to this issue later.<br>
<br>
Both of those seem to have nearly identical documentation - is one a<br>
fork of the other?<br>
<br>
Cheers,<br>
Richard<br>
<br>
On 17/04/20 2:49 pm, Ford wrote:<br>
> Flask uses cryptographically signed cookies, which prevents the user<br>
> from being able to modify the cookies. It would however be ill-advised<br>
> to store any personally identifiable information or anything critical.<br>
> <br>
> There are server-side options available as extensions, such as<br>
> Flask-Session<br>
> (<a href="https://pythonhosted.org/Flask-Session/" rel="noreferrer" target="_blank">https://pythonhosted.org/Flask-Session/</a>, <a href="https://hackersandslackers.com/managing-user-session-variables-with-flask-sessions-and-redis/" rel="noreferrer" target="_blank">https://hackersandslackers.com/managing-user-session-variables-with-flask-sessions-and-redis/</a>),<br>
> and Flask-Sessionstore<br>
> (<a href="https://flask-sessionstore.readthedocs.io/en/latest/" rel="noreferrer" target="_blank">https://flask-sessionstore.readthedocs.io/en/latest/</a>).<br>
> <br>
> Anthony Ford<br>
> <br>
> <br>
> On Thu, Apr 16, 2020 at 9:18 PM Richard Hector <<a href="mailto:richard@walnut.gen.nz" target="_blank">richard@walnut.gen.nz</a><br>
> <mailto:<a href="mailto:richard@walnut.gen.nz" target="_blank">richard@walnut.gen.nz</a>>> wrote:<br>
> <br>
>     Hi all, I hope this is the right place to ask.<br>
> <br>
>     I've been doing the Flask Mega Tutorial.<br>
> <br>
>     It appears that sessions are stored in a cookie/cookies in the browser,<br>
>     rather than just setting a random session id and storing in the database<br>
>     or whatever. I was under the impression (though I'm a web development<br>
>     newbie) that this wasn't considered best practice. Is there a way to<br>
>     change this behaviour, to store the session info server-side instead?<br>
> <br>
>     Thanks,<br>
>     Richard<br>
>     _______________________________________________<br>
>     Flask mailing list<br>
>     <a href="mailto:Flask@python.org" target="_blank">Flask@python.org</a> <mailto:<a href="mailto:Flask@python.org" target="_blank">Flask@python.org</a>><br>
>     <a href="https://mail.python.org/mailman/listinfo/flask" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/flask</a><br>
> <br>
<br>
</blockquote></div>
_______________________________________________<br>
Flask mailing list<br>
<a href="mailto:Flask@python.org" target="_blank">Flask@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/flask" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/flask</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Thanks,<div>Mayank Pathak</div></div></div></div>