Guice doesn't provide any direct support for this--you should use the servlet container's HttpSessionListener directly.
As a matter of principle, we typically shy away from too much direct use of sessions as they scale very poorly. Dhanji. On Sun, Sep 19, 2010 at 4:19 AM, amiserio <[email protected]> wrote: > Hi, > I need a session manager, who will keep a list of current sessions and > keep it up to date. > How to use HttpSessionListener with guice? > Is it possible to track the creation and destruction of the sessions? > if so, how? > > Thanks in advance. > > -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-guice%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-guice?hl=en. > > -- You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.
