Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-2630

MockHttpServletResponse doesn't delete cookies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.5
    • 1.4.6, 1.5-M1
    • wicket
    • None

    Description

      From Cookie.setMaxAge javadoc:

      • @param expiry an integer specifying the maximum age of the
      • cookie in seconds; if negative, means
      • the cookie is not stored; if zero, deletes
      • the cookie

      So, if maxAge is zero, MockHttpServletResponse should remove cookie.

      Attachments

        Issue Links

          Activity

            People

              jdonnerstag Juegen Donnerstag
              slonopotamus Marat Radchenko
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: