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

Session ID does not change after timeout

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.3.Final
    • 1.0.0.Final
    • None
    • None

      I tried to set the session timeout in web.xml (or using session.setMaxInactiveInterval). The session destroy event can be received in my HttpSessionListener's sessionDestroyed method. But after that, I refreshed the page, the session id is still same to the old one, although the old session's attributes are cleared. For comparing, I tried to invoke session.invalidate, the session id changed in the next request.

      I don't think that the new session should have the same id to the old one. I tried JBoss AS7 and Tomcat 7, both generate a new session id.

            sdouglas1@redhat.com Stuart Douglas
            minglei.lee Minglei Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: