Click
  1. Click
  2. CLK-371

manually invalidating HttpSession leads to exceptions

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5 M2
    • Fix Version/s: 1.5 M2
    • Component/s: core
    • Labels:
      None

      Description

      If the HttpSession is manually invalidated exceptions will be thrown because Context#getSession() returns a cached invalid session.

      To fix we could change Context#getSession to:

      public HttpSession getSession()

      { return request.getSession(); }

        Activity

        Bob Schellink created issue -
        Hide
        Bob Schellink added a comment -

        fix will be available for 1.5-M2.

        Issue need to be reviewed.

        Show
        Bob Schellink added a comment - fix will be available for 1.5-M2. Issue need to be reviewed.
        Hide
        Malcolm Edgar added a comment -

        Yes there is probably no good reason for caching the session.

        Show
        Malcolm Edgar added a comment - Yes there is probably no good reason for caching the session.
        Bob Schellink made changes -
        Field Original Value New Value
        Fix Version/s 1.5 M2 [ 10022 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Fix Version/s 1.5 M1 [ 10010 ]
        Henri Yandell made changes -
        Project Import Fri Mar 20 14:11:32 PDT 2009 [ 1237583492744 ]

          People

          • Assignee:
            Malcolm Edgar
            Reporter:
            Bob Schellink
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development