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

WebApplication.newSession() being called for almost all requests within 1 actual session

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Invalid
    • Affects Version/s: 1.5.0, 1.5.1
    • Fix Version/s: None
    • Component/s: wicket
    • Environment:
      Wicket 1.5.1 running on jetty 7.5.1 in Ubuntu

      Description

      IMPORTANT: This will NOT happen if you are testing it on a local machine or within the LAN. It only happens if you are connecting through the net, perhaps it requires latency to reproduce. I'm 100% certain of it as I've been consistently reproducing the same results when I switch b/t LAN and the net.

      Steps to reproduce:

      1.) create a custom session class
      2.) in WebApplication override newSession to return your custom session class
      3.) put a logger in the contructor of the custom session
      4.) with a browser, navigate around the application from an external machine and see the log that you put in step 3 print out indications of your custom session being created every few clicks.

      This seems to be happening on the redirect where it appends the ?5 after a url? I'm not sure.

        Attachments

          Activity

            People

            • Assignee:
              ivaynberg Igor Vaynberg
              Reporter:
              nepoez lucius
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: