Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问,过期Session的清除机制是怎样的? #5

Closed
kid-wumeng opened this issue Mar 8, 2016 · 1 comment
Closed

请问,过期Session的清除机制是怎样的? #5

kid-wumeng opened this issue Mar 8, 2016 · 1 comment

Comments

@kid-wumeng
Copy link

我在 Session 模块中看到了判断是否过期的方法,但执行清除的机制似乎没看到,应该采用定时扫描全表还是为每个 Session 设置定时器的方式比较好?

@JacksonTian
Copy link
Owner

生产的话 采用带过期功能的存储。比如redis/memcached

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

No branches or pull requests

2 participants