Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 870

Show
Ignore:
Timestamp:
12/13/05 05:25:23
Author:
rdelon
Message:

Specify in book that the PostgreSql? backend for sessions works with psycopg2

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/docs/book/xml/sessions.xml

    r857 r870  
    129129                </screen> </para> You also need to programmatically set the 
    130130      <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> 
    132132    </itemizedlist> 
    133133    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. 

Hosted by WebFaction

Log in as guest/cpguest to create tickets