6
7

More than 5 years have passed since last update.

Play Framework の 設定

Posted at

Play Framework の設定

application.conf に何を書けばいいのかいまいち分からなかったのでメモ

Session

セッションの有効期限がブラウザ落とした時とか・・・と思ってたら発見
GitHub playframework
ここのソースから逆算

# Cookie での名前 (String)
session.cookieName = "PLAY_SESSION"

# 有効期限 (Int 秒)
session.maxAge = 0

# セキュアか (Boolean)
session.secure = false

# HTTP Only (Boolean)
session.httpOnly = true

# ドメイン (String)
session.domain = ""
6
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
7