Please add 1 feature:session id supports configuration prefix #51216
Unanswered
cloud-arrow
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
reason
Our project uses redis as the driver to store session sessions.
When encountering a crawler, the visit ends once and a session will be generated and stored in redis.
A large number of crawler visits will cause our redis memory to continue to grow. Although there is an expiration time, there is still a risk of the memory being exhausted in a short period of time.
When we query the redis memory, if there is no prefix, it will be difficult to locate the session. If there is a prefix, we can locate it quickly. Because our project uses caching in many places.
laravel currently does not support configuration prefixes
https://github.com/laravel/framework/blob/11.x/src/Illuminate/Session/Store.php#L683
Beta Was this translation helpful? Give feedback.
All reactions