• Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • 2.4.43
    • Affects Version/s: 2.4.42
    • Component/s: DbSession
    • None

      http://twitter.com/hidekatsu_izuno/statuses/22715858870

      seasar2のs2sessionでは、プロパティを触るたびにlastAccessedTimeが変わってしまうが、servlet2.5の javadocを読む限り最後にクライアントからセッションがリクエストされた時にのみ変化すると書かれているので正しくないような感じ。実害はないけど

      だそうです。

      確かに実害は少ないですが、ServletAPIの仕様はHttpSessionの値(属性)などの操作時にlastAccessedTimeを更新しないことを明記してますので、(http://download.oracle.com/docs/cd/E17802_01/products/products/servlet/2.5/docs/servlet-2_5-mr2/javax/servlet/http/HttpSession.html#getLastAccessedTime())org.seasar.extension.httpsession.S2HttpSession#setAttribute() でlastAccessedTimeを更新する必要はないと思います。

            Assignee:
            koichik
            Reporter:
            azusa
            Votes:
            0 Vote for this issue
            Watchers:
            Start watching this issue

              Created:
              Updated:
              Resolved: