Title: Session Tracking fails -- always obtaining NEW session?

I would like to be able to save a Stateful Session Bean Handle in an HttpSession.
Every time my HttpServlet code (executing in the Websphere 3.5.3 Test Environment) hits the line:
        session = request.getSession(true);
it obtains a NEW session rather than an existing one, even if previous requests have hit the same servlet in the same test.

I've tried this with raw code as a test client and it fails; then I tried making a JApplet client and running it in AppletViewer and get the same result. Is it impossible to test session tracking in the test environment? What am I missing?

Charles May
Software Engineer
Technology Delivery Department (TDD)
Mellon Financial Corporation
Pittsburgh, PA



*****************************************************************           DISCLAIMER:   The information contained in this e-mail may be confidential and is intended solely for the use of the named addressee.  Access, copying or re-use of the e-mail or any information contained therein by any other person is not authorized.  If you are not the intended recipient please notify us immediately by returning the e-mail to the originator.   

Reply via email to