1.11.14.4 The start() Function

start( app, environmentName [, environmentType='database'] [, expire=0] [, setupSessionEnvironment=False] [, path='/'] [, domain=''] [, comment="Built in Python using web.session from pythonweb.org"] [, maxAge=None] [, seed='PythonWeb'] [, cleanupProbability=0.05] [, **environmentParams] )

Used to return a Store object.

Most of the options are self-explanitory. app is the name of the application (which should not be 'auth' since the web.auth module uses that name. setupSessionEnvironment can be set to True to automatically create the correct tables if any are missing (if only some of the tables are present all session tables are removed destroying any information contained them before all the tables are recreated). environmentParams are any parameters used by the environment. If environmentType is 'driver' you would also need to specify a cursor parameter for example. domain, comment, maxAge, seed and cleanupProbability=0.05 are the same as specified in the manager() function described earlier.