0 Replies Latest reply on Apr 3, 2005 8:40 PM by Brian Pittman

    http session is being set to null, hostname problem

    Brian Pittman Newbie

      So my machine name is "bap". I'm running jboss on port 80

      If use the url http://bap then everything is ok.

      However if I use the url http://localhost or http://127.0.0.1 or my real ip address or any other address I set up in my hosts file (I'm using using win2k) then any session information I create using

      request.getSession().setAttribute("name", "value")


      becomes null once I try to access it from another page.

      This happens in both Netscape and IE so I don't think it's a browser issue.
      It also happens both in the application that I am building and in the dukes bank tutorial.

      I would be eternally grateful if anyone could help me with this.
      thanks,
      Brian