Support the ongoing development of Laravel.io →
posted 10 years ago
Session

I have a Classic ASP app in a subdirectory of my Laravel app, which is authenticated by the Laravel session. In 4.0, I would get the value of the session cookie, which would be the session id. Then I would check in the database if it existed = authenticated.

Now in 4.1+, how do I convert the contents of the session cookie to find the session id to match against the session table's id column?

I'm using the database session driver

Last updated 3 years ago.
0

Apparantly, Laravel encrypts any cookie it makes and removes any unencrypted cookies every response.

https://github.com/laravel/framework/issues/3440#issuecomment-53048026

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

wmather wmather Joined 11 Aug 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.