youbbs avatar

Bottle.py Session

🕝 by youbbs

Session code for bottle microframework

1
2
3
4
5
6
7
8
A simple library to make session authenitcation easy with the Bottle micro-framework.

Features:

Saves off URL being hit so that you can redirect after the login. (Stored in a cookie)
Simple session managers included: store in /tmp and store in cookie.
Decorator to specify that a login is required.
Saves off login name to "bottle.request.environ['REMOTE_USER']".

https://github.com/linsomniac/bottlesession

💘 相关文章

写一条评论

Based on Golang + fastHTTP + sdb | go1.16.3 Processed in 0ms