-
Notifications
You must be signed in to change notification settings - Fork 57
Home
dound edited this page Sep 14, 2010
·
31 revisions
gae-sessions provides a fast, lightweight Sessions middleware for Google App Engine using memcache+datastore for Python. See the readme for more information about the project and how to use it.
- The readme explains how to install and use gae-sessions.
- See how it compares to other session libraries.
- View the documentation.
- If you have questions or need help, try posting to the gae-sessions group at [email protected] or visiting the google group webpage.
- Refactored user_is_now_logged_in() to regenerate_id() and documented it in the readme.
- Fixed a regression in v0.7 which caused old session data to be deleted when changing session IDs.
- set_quick() now starts a new session if one isn’t currently active – just like __setitem__().
- Documentation strings have been improved
- Support has been added for generating documentation via sphinx.
- Session data is now lazily loaded. If you don’t read/write it, no overhead is added.
- Expiration date handling has been improved.
- Starting in v0.5, expiration time is in the sid, so there is no need to also store it in the session data.
- Added clear() method to Session.
- Cleanly handle bogus cookies which specify session ID to be the empty string.
- Session data can now be retrieved manually (via session ID).
- Resolved
Issue #2: added support for cleaning up expired sessions from the datastore.- Thanks to Amir Shimoni for suggesting this
- Added a demo cronjob which uses the provided cleanup function to remove expired sessions daily.
- Fix regression in v0.04 which caused the datastore to never be used (oops).
- Added support for “quick” methods which only save changes to memcache (avoiding a datastore put).
- Added a new demo which uses Google Accounts for authentication.
- The original demo now works regardless of what port the development server is running on.
- Cleanly handle any db.delete() failure (could occur if the datastore goes into read-only mode, etc.)
- Fixed
Issue #1: A license is now specified (Apache License v2).
- Initial Beta Release