You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Michael Balser (Created) (JIRA)" <ji...@apache.org> on 2012/04/05 10:11:37 UTC

[jira] [Created] (WICKET-4489) HttpSessionStore.onUnbind is never invoked

HttpSessionStore.onUnbind is never invoked
------------------------------------------

                 Key: WICKET-4489
                 URL: https://issues.apache.org/jira/browse/WICKET-4489
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5.5, 1.5.4, 1.5.0
            Reporter: Michael Balser
            Priority: Minor


I have extended HttpSessionStore to keep track of the number of active sessions. I increment session counter in method onBind and decrement session counter in method onUnbind. However, method HttpSessionStore.onUnbind is never invoked. onUnbind should be invoked, when session is invalidated. In contrast, method WebApplication.sessionUnbound is correctly invoked, when session is invalidated.

I will try to attach a small project, which demonstrates this bug.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (WICKET-4489) HttpSessionStore.onUnbind is never invoked

Posted by "Martin Grigorov (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4489.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.0.0-RC1
                   1.5.6
         Assignee: Martin Grigorov
    
> HttpSessionStore.onUnbind is never invoked
> ------------------------------------------
>
>                 Key: WICKET-4489
>                 URL: https://issues.apache.org/jira/browse/WICKET-4489
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.0, 1.5.4, 1.5.5
>            Reporter: Michael Balser
>            Assignee: Martin Grigorov
>            Priority: Minor
>              Labels: bug, session, wicket
>             Fix For: 1.5.6, 6.0.0-RC1
>
>         Attachments: wicket.testsessionunbind.tgz
>
>
> I have extended HttpSessionStore to keep track of the number of active sessions. I increment session counter in method onBind and decrement session counter in method onUnbind. However, method HttpSessionStore.onUnbind is never invoked. onUnbind should be invoked, when session is invalidated. In contrast, method WebApplication.sessionUnbound is correctly invoked, when session is invalidated.
> I will try to attach a small project, which demonstrates this bug.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WICKET-4489) HttpSessionStore.onUnbind is never invoked

Posted by "Michael Balser (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Balser updated WICKET-4489:
-----------------------------------

    Attachment: wicket.testsessionunbind.tgz

Wicket project which demonstrates the bug of HttpSessionStore.onUnbind not being called. Start application and follow 'Logout' link a few times.
                
> HttpSessionStore.onUnbind is never invoked
> ------------------------------------------
>
>                 Key: WICKET-4489
>                 URL: https://issues.apache.org/jira/browse/WICKET-4489
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.0, 1.5.4, 1.5.5
>            Reporter: Michael Balser
>            Priority: Minor
>              Labels: bug, session, wicket
>         Attachments: wicket.testsessionunbind.tgz
>
>
> I have extended HttpSessionStore to keep track of the number of active sessions. I increment session counter in method onBind and decrement session counter in method onUnbind. However, method HttpSessionStore.onUnbind is never invoked. onUnbind should be invoked, when session is invalidated. In contrast, method WebApplication.sessionUnbound is correctly invoked, when session is invalidated.
> I will try to attach a small project, which demonstrates this bug.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira