Source

CherryPy / lib / sessions.py

The branch 'cherrypy' does not exist.
Author Commit Message Labels Comments Date
Robert Brewer
Fix for #408 (SessionFilter doesn't check result of generateSessionID() against sessionStorage).
Branches
cherrypy
Robert Brewer
Fix for #489 (secure session key). os.urandom is used when available.
Branches
cherrypy
Robert Brewer
Revamped session module. Much better tests. Cleanup is now in a separate, cycling Timer thread (with an entry in on_stop_engine_list). Moved cherrypy.request._session to cherrypy.serving.session.
Branches
cherrypy
Robert Brewer
Oops. Fix for the session time fix.
Branches
cherrypy
Robert Brewer
Fix for #512 (Cookie.expires should be optional).
Branches
cherrypy
Robert Brewer
CP 2.2 and 3.0 fix for #516 (Sessionfilter doesn't format properly the cookie date field "Expires" if the locale is not 'C').
Branches
cherrypy
Robert Brewer
Fix for #475 (double calling acquire_lock() freezes the request).
Branches
cherrypy
Robert Brewer
Fake SessionTool attributes.
Branches
cherrypy
Robert Brewer
Lots of changes to error and log handling: 1. Removed RequestHandled and InternalError. 2. Error response is now overridable by replacing request.error_response. Tools should do this in setup(). 3. New request.log_access attribute. 4. Moved response.handleError to request.handle_error. 5. Logging of tracebacks and request headers are now tools. 6. New ErrorRedirect tool class. 7. Tools may now be anonymous (not necessary to be place…
Branches
cherrypy
Robert Brewer
All tests now pass with the new tool API (but xmlrpc hangs?).
Branches
cherrypy
Robert Brewer
More tool improvements: 1. Replaced request.execute_main with request.dispatch. Setting request.dispatch to None means no dispatch call. 2. Better xmlrpc tool as a result. 3. Tools now know their own names. 4. Tools now mix config into args given to wrap() and handler().
Branches
cherrypy
Robert Brewer
Renamed session.load to session.init, and fixed a bug in wrap.
Branches
cherrypy
Robert Brewer
Fixed session module for the new tool API.
Branches
cherrypy
Robert Brewer
Corrected several old headerMap references. Updated test_response_headers_filter.py
Branches
cherrypy
Robert Brewer
CP 3 initial checkin. Global filters have been replaced by request.hooks. Lots of renaming and reorg of modules.
Branches
cherrypy