8
これらのプロパティを使用してセッションメカニズムを完全に無効にできますか?埋め込み型httpサーバでセッションを無効にする
server.session.persistent=false
server.session.timeout=0
これを行う方法はありますか?
これらのプロパティを使用してセッションメカニズムを完全に無効にできますか?埋め込み型httpサーバでセッションを無効にする
server.session.persistent=false
server.session.timeout=0
これを行う方法はありますか?
私はそれがデフォルトで完全に無効になっていると思います。
ドキュメントで明示的に言っていませんが、空の値はそれを示しています。
server.session.cookie.comment= # Comment for the session cookie.
server.session.cookie.domain= # Domain for the session cookie.
server.session.cookie.http-only= # "HttpOnly" flag for the session cookie.
server.session.cookie.max-age= # Maximum age of the session cookie in seconds.
server.session.cookie.name= # Session cookie name.
server.session.cookie.path= # Path of the session cookie.
server.session.cookie.secure= # "Secure" flag for the session cookie.
server.session.persistent=false # Persist session data between restarts.
server.session.store-dir= # Directory used to store session data.
server.session.timeout= # Session timeout in seconds.
server.session.tracking-modes= # Session tracking modes (one or more of the following: "cookie", "url", "ssl").
Untrue:設定なしSpring-Boot埋め込みTomcatはJSESSIONIDクッキーを設定します – fasseg
「セッションを無効にする」とはどういう意味ですか?既定の「既定の」Springブートアプリケーションと比較して、どのような動作変更が期待されますか? – kryger