Skip to content

Session is not saved on rails 4.2.10 and devise 3.4.1 #118

@ajinkyapisal

Description

@ajinkyapisal

When using the latest version of activerecord-session_store (1.1.0), the session is not saved in the database.

If I login into the application then the login is successful and it redirects the user to the home page of the app but there as the session is not stored it again redirects the user to the login page. It keeps on doing this never ending redirect loop.

I tried changing session store to cookie_store and there it works fine.

There are some warnings in the log but no error is reported

Warning! ActionDispatch::Session::ActiveRecordStore failed to save session. Content dropped.

Note: I have upgraded from rails 3.2 to rails 4.2.10

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