Changeset 870
- Timestamp:
- 12/13/05 05:25:23
- Files:
-
- trunk/docs/book/xml/sessions.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/docs/book/xml/sessions.xml
r857 r870 129 129 </screen> </para> You also need to programmatically set the 130 130 <literal>session_filter.get_db</literal> config option to a function that 131 returns a DB connection. </listitem>131 returns a DB connection. Note that you should use the <literal>psycopg2</literal> module.</listitem> 132 132 </itemizedlist> 133 133 Note that when using the <literal>Ram</literal> backend, the session data is saved as soon as you stick it in <literal>cherrypy.session</literal>. So even if an error occurs later on in the page handler the data is still saved; this is not the case for the other backends.

