By youbbs at 2013-12-17 21:30:30 • 987次点击

Session code for bottle microframework

A simple library to make session authenitcation easy with the Bottle micro-framework.


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']". 3

bottle, py, session

登录 后发表评论