Results 1 to 2 of 2

Thread: Session attributes disappearing between wars

  1. #1
    Join Date
    Apr 2006
    Location
    Columbia Mo
    Posts
    53

    Default Session attributes disappearing between wars

    I have a unique situation that maybe someone out there knows more about than I do.

    I have two war file deployed in a single ear. In the first war I have a Controller that sets some session attributes. The result view links to another Controller on my second war. When this controller is accessed, all the session variables have been erased. The session id is the same on both controllers so I don't understand why the attributes are gone.

    Any ideas?

    Thanks

  2. #2
    Join Date
    Dec 2005
    Posts
    269

    Default

    if you deploy several war files even inside the same ear, they will be deployed as DIFFERENT webapps, so their sessions will be non-shareable.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •