Replies: 1 comment
-
The attribute is for e.g. jetstream to be able to search for all sessions of a user. But redis/cookies/files do not have indexes like a database to efficiently replicate the search functionality. So there is no need for it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://github.com/laravel/framework/blob/8.x/src/Illuminate/Session/DatabaseSessionHandler.php#L197
Why does the database driver add the user_id in this manner while the redis/cookie/file/etc drivers do not?
Beta Was this translation helpful? Give feedback.
All reactions