[Flask] about flask session expire problem
Christopher M Braiotta
braiotta at mit.edu
Tue Jun 7 18:26:25 EDT 2016
If it's good enough for that to happen at page load, I feel like the answer would be a route decorator applied to every route that isn't you front page. The decorator checks the status of your session, and upon noticing expiration, issues a redirect to the front page.
On Tue, Jun 7, 2016 at 2:39 PM -0400, "wangjia at kiyes.cn" <wangjia at kiyes.cn<mailto:wangjia at kiyes.cn>> wrote:
hi:
I use nginx+uwsgi+flask(0.10.1) build environment , now i want to realize platform return to home page when user session expire , but i dont know how to setting , can you guide me?
thanks
________________________________
Best Regards,
Venture
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20160607/0120f432/attachment-0001.html>
More information about the Flask
mailing list