Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-1619

ServletEndpointContext.getHttpSession always creates HTTPSession

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • jbossws-2.0.0
    • jbossws-1.2.1
    • jbossws-native
    • None
    • Low

      ServletEndpointContextImpl implements getHttpSession as simply request.getSession() which results in always creating a session if one doesn't already exists. ServletEndpointContext.getHttpSession javadoc specifies that null should be returned if no session already exists. The implementation should probably be: request.getSession(false).

            tdiesler@redhat.com Thomas Diesler
            claprun Chris Laprun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: