Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
playframework 1.x では、セッションはテンプレートの単なる暗黙的なオブジェクトですが、playframework 2.0 ではなくなったようです。テンプレートでセッション オブジェクトを使用する方法はありますか?
ありがとう。
私の記憶が正しければ、次のようにセッションに保存された値を取得できるはずです。
@session.get("mySessionVar")