Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-359

setMaxInactiveInterval could not set very large or 0 or -1 in HttpSession

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 1.1.2.Final, 1.2.0.Beta7
    • 1.1.0.Final
    • Core
    • None

      I use Wildfly 8.2-Final, got these problems:
      If config setMaxInactiveInterval(2^31/1000+1) in session, this session will quickly destroy. I think It is overflow of integer.
      In bumpTimeout, 1000 should be 1000L.

      Also after config setMaxInactiveInterval(60) in sessionCreated, set setMaxInactiveInterval(0) is not effect, session will be timeout in 60 seconds.

      Wildflay 8.1-Final is OK.

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              huanghwh@gmail.com Huang Wenhui (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: