app, environmentName [, environmentType='database'] [, expire=0] [, setupSessionEnvironment=False] [, cookie=cookieDefaults] [, _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. cookie, _seed and _cleanupProbability=0.05 are the same as specified in the manager() function described earlier.