Bottle.py Session

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

Session code for bottle microframework

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 1

bottle, py, session


登录 后发表评论