Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-580

ShiroHttpServletRequest cached HttpSession

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • None
    • None
    • None
    • None

    Description

      I try to implement sessionDao with redis

      but I found ShiroHttpServletRequest cached HttpSession

      when i login the system, for preventing session fixation attack, i call getSession().stop(), now the redis have no session information, then i call httpRequest.getSession(false), it will get the cached HttpSession that is not stored in redis. So the Exception will happened

      what should I do to avoid this ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            willvvvv Wei Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: