[doc] one must now manipulate the req.session.data dict (closes #2842345) stable
authorDavid Douard <david.douard@logilab.fr>
Wed, 24 Jul 2013 13:59:08 +0200
branchstable
changeset 9183 95e69c2d52a9
parent 9182 75493f6ca586
child 9184 b982e88e4836
[doc] one must now manipulate the req.session.data dict (closes #2842345) instead of deprecated get/set/del_session_data methods.
doc/book/en/devweb/request.rst
--- a/doc/book/en/devweb/request.rst	Wed Jul 24 08:20:22 2013 +0200
+++ b/doc/book/en/devweb/request.rst	Wed Jul 24 13:59:08 2013 +0200
@@ -30,11 +30,7 @@
 
 * `Session data handling`
 
-  * `session_data()`, returns a dictionary containing all the session data
-  * `get_session_data(key, default=None)`, returns a value associated to the given
-    key or the value `default` if the key is not defined
-  * `set_session_data(key, value)`, assign a value to a key
-  * `del_session_data(key)`,  suppress the value associated to a key
+  * `session.data` is the dictionnary of the session data; it can be manipulated like an ordinary Python dictionnary
 
 * `Edition` (utilities for edition control):