Skip to content

Session Data Not Being Stored in the Server Database Upon App Installation #525

@dev-arpitpatel

Description

@dev-arpitpatel

I have updated my .env file and configured the DB_CONNECTION as follows:

APP_NAME="Essential Trust Badges & Icons Dev"
APP_ENV=production
APP_KEY=**********
APP_DEBUG=true

LOG_CHANNEL=stack
LOG_LEVEL=debug

DB_CONNECTION=sqlite

DB_CONNECTION=mysql
DB_HOST=************
DB_PORT=****
DB_DATABASE=************
DB_USERNAME=************
DB_PASSWORD=************

The path to the database file should be absolute; ensure it is updated accordingly.

DB_DATABASE=storage/db.sqlite

DB_FOREIGN_KEYS=true
SESSION_DRIVER=database

SHOPIFY_API_KEY=""
SHOPIFY_API_SECRET="
****"

However, after deploying the application on the server and installing it in my store, the session data is not being stored in the session table in the server database.
Could you please assist me in identifying the issue and provide potential solutions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions