Session and Cache in database.

Posted 7 months ago by fredwilson

Is it possible to have Session and Cache in the database at the same time? I've set both drivers to the database, however logging in doesn't work. Everything works fine when either one is set to database, but not when both are.

If you make a new Laravel project, make Auth, add Session table, add Cache table, set both drivers to database. Register and try to log in, it doesn't work. Set either one to file, and it works.

Any ideas?

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.