Skip to content

session配置添加path参数使session使用不同驱动时默认行为一致#1161

Closed
ichynul wants to merge 2 commits intotop-think:8.xfrom
ichynul:patch-1
Closed

session配置添加path参数使session使用不同驱动时默认行为一致#1161
ichynul wants to merge 2 commits intotop-think:8.xfrom
ichynul:patch-1

Conversation

@ichynul
Copy link
Copy Markdown

@ichynul ichynul commented Jun 27, 2025

这问题困扰了很多人。文档里面说:如果不希望共享会话数据,可以给每个应用设置不同的前缀prefix,但file又可以通过path参数。
导致结果默认是redis跨,file不跨造成混乱。

@ichynul ichynul closed this Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant