You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Alastair Maw (JIRA)" <ji...@apache.org> on 2007/04/18 16:35:16 UTC

[jira] Commented: (WICKET-482) create "onDestroyed()" hook in WebSession

    [ https://issues.apache.org/jira/browse/WICKET-482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489757 ] 

Alastair Maw commented on WICKET-482:
-------------------------------------

To do this,  I think we need to implement an HttpSessionListener, and get users to define the implementing class in the web.xml as a listener - I don't think there's any way around this.

Then it's just a simple matter of getting the WebSession out of the HttpSession and calling onDestroy() on it.
I guess it might be nice to check the inactive time to work out if it's expired, or if the user has manually killed it by logging out or whatever.

> create "onDestroyed()" hook in WebSession
> -----------------------------------------
>
>                 Key: WICKET-482
>                 URL: https://issues.apache.org/jira/browse/WICKET-482
>             Project: Wicket
>          Issue Type: Wish
>          Components: wicket
>    Affects Versions: 1.3
>            Reporter: Shumbola
>         Assigned To: Alastair Maw
>            Priority: Trivial
>             Fix For: 1.3
>
>
> Create a simple hook in WebSession 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.