Skip to content

Sessions not working after deployment with PostGres #3

@michelleprather

Description

@michelleprather

Hi. I had everything working fine when I was testing it locally, however, there seems to be something happening with the sessions after deployment via Heroku and PostGres. It seems this line breaks the code entirely

$request->session()->get('trucking')->update($request->all());

, where 'trucking' is my set session.

After editing this line to:

$request->session()->get('trucking')->save($request->all());

and changing "firstOrCreate" to "firstOrNew", the first step is posting, but not the rest. Do you have any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions