0 Replies Latest reply on Aug 12, 2009 5:20 PM by radouane el marjani

    By sending one request, minimal 2 sessions are created! Urgent!

    radouane el marjani Newbie

      Hi,


      I have implemented a Session listener to see the sessions that they are be created and I have noticed that:
      - By clicking on an action, I get in the log that more then one session are created.(I work just local(localhost:8080)).
      - my log File of jboss show me this:


      17:15:20,307 INFO  [MySessionListener] Monitoring: session created : 313B31D9BFAA0608B101B8EBE06A488E
      17:15:20,307 INFO  [Contexts] starting up: org.jboss.seam.web.session
      17:15:20,307 INFO  [Contexts] starting up: org.jboss.seam.security.identity
      17:15:32,934 INFO  [MySessionListener] Monitoring: session created : 4AEAF8FB770FDC11243A54FA789536FF
      17:15:32,934 INFO  [Contexts] starting up: org.jboss.seam.web.session
      17:15:32,935 INFO  [Contexts] starting up: org.jboss.seam.security.identity
      17:15:33,178 INFO  [MySessionListener] Monitoring: session created : 1046954C2BB5BDAB460FFD12268BC041
      17:15:33,178 INFO  [Contexts] starting up: org.jboss.seam.web.session
      17:15:33,179 INFO  [Contexts] starting up: org.jboss.seam.security.identity
      



      - I put in web.xml time out for session 1 minute and I get after one minute this in log file:


      17:16:24,245 INFO  [MySessionListener] Monitoring: session destroyed :313B31D9BFAA0608B101B8EBE06A488E Logging out user...
      17:17:24,251 INFO  [MySessionListener] Monitoring: session destroyed :1046954C2BB5BDAB460FFD12268BC041 Logging out user...
      17:17:24,252 INFO  [MySessionListener] Monitoring: session destroyed :4AEAF8FB770FDC11243A54FA789536FF Logging out user...
      



      My question is: Can some one please tell me why I have this behaviour, it's mormal to have more then one session by sending request, or I do something wrong?


      Thank you