Wicket creates Session objects but until they are something calls
Session#bind() there is no Http Session created, i.e. the Wicket Session is
temporary for the current request.
ISessionListener is notified when Wicket Session is created.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Fri, May 13, 2016 at 9:28 AM, Tom Götz <t...@decoded.de> wrote:

> Hi Martin,
>
> thanks for the pointers, will have a look at 2):
> can I also use org.apache.wicket.ISessionListener? What’s the difference
> to org.apache.wicket.session.ISessionStore.BindListener (besides that the
> bind/unbind methods are split into two separate interfaces)?
>
> Cheers,
>    Tom
>
>
> > On 13.05.2016, at 08:45, Martin Grigorov <mgrigo...@apache.org> wrote:
> >
> > Hi,
> >
> > You can use:
> > 1) plain Servlet APIs -
> >
> http://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpSessionListener.html
> > 2) Wicket APIs - ISessionStore#register[Un]BindListener()
> >
> > Martin Grigorov
> > Wicket Training and Consulting
> > https://twitter.com/mtgrigorov
> >
> > On Fri, May 13, 2016 at 8:02 AM, Tom Götz <t...@decoded.de> wrote:
> >
> >> Hi there,
> >>
> >> I’d like to track the currently logged in users with the corresponding
> >> session ids for displaying them on an admin page. What’s the best way
> to do
> >> that? I was thinking about storing sessionId/userId data in the
> database,
> >> but I’m not sure yet if that would be the best approach.
> >>
> >> What do you think?
> >>
> >> Cheers,
> >>   Tom
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to