Feature Requests item #1506503, was opened at 2006-06-15 00:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1506503&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.3
Status: Open
Priority: 5
Submitted By: Jonathan Locke (jonathanlocke)
Assigned to: Nobody/Anonymous (nobody)
Summary: SessionStore unbinding improvements

Initial Comment:
I have a need in my current project to dump certain
transient information about site visiting patterns when
a session expires.  This is currently very hard to do
because ISessionStore.unbind() and related methods take
a String sessionId instead of the Wicket Session
object.  I've rewired Application, SessionStore,
ISessionStore, AbstractSessionStore and Session so that
you can listen to a first-class onUnbound(Session)
event in your SessionStore implementation, or just
override Session.onUnbound() for convenient event
handling without a custom session store implementation.
 I have not yet tested the attached patch thoroughly,
but I will attach a new patch if anything turns up
wrong with it.  Close inspection of the code makes me
think it will work.  I also think other users will want
Session.onUnbound() and SessionStore.onUnbound(Session)
and it's nice and symmetric as well. 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1506503&group_id=119783


_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to