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

当 cookie 的maxAge = 'session'时,如何可以动态配置 session 的maxAge #189

Open
ZhangDianPeng opened this issue Nov 14, 2019 · 2 comments

Comments

@ZhangDianPeng
Copy link

No description provided.

@ysk2014
Copy link

ysk2014 commented Nov 15, 2019

session对象实现了maxAge的set和get方法,可以灵活的使用ctx.session.maxAge = 10000

@owendswang
Copy link

session对象实现了maxAge的set和get方法,可以灵活的使用ctx.session.maxAge = 10000

哇,居然真的可以……我以为写null。多谢多谢!

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

3 participants