springboot2.0設置session過期時間。

目的:springboot2.0設置session過期時間。 網上很多設置 springboot session 過期時間,已經不適合 springboot2.0. 下面這個我親測有效。 請注意格式:我這個用的是 application.yml servlet: session: timeout: 3600s
相關文章
相關標籤/搜索