Documentation
    Preparing search index...

    Function getExpressSessionStore

    • Build the express-session Store backed by a local sqlite file.

      connect-sqlite3 (^0.9.15, but this changed between 0.9.16 and 0.9.17) no longer opens the database itself - it expects options.db to already be an open handle with .exec/.get/.all/.run, so we have to open it here.

      Parameters

      • session: any

        the express-session module instance the app uses

      Returns any

      a session.Store instance