Database persistence

Each session is saved to a user defined database. All database operations are handled by the persistence manager. One table, web_session, is required to hold all of the sessions for the server. This table has a single primary key whose value is the sessionId. The table consists of four VARBINARY columns and one BLOB. It also has a column containing the session version. The database only needs to be updated if the session has changed at the end of the request. Database persistence uses the session.db data source, which is an alias for the “default” data source in the as-installed configuration.