Hello,

I think I find it getLiveSessions() can give me some help!

Thank you both!

Good Luck !

在 2011年5月27日 下午1:47,Tobias Gierke <tobias.gie...@code-sourcery.de>写道:

> Hi,
>
> Implement a
>
> http://download.oracle.com/javaee/5/api/javax/servlet/http/HttpSessionListener.html
> and put it in your web.xml.
>
> Regards,
> Tobias
>
> > Hello,
> >
> > Maybe I found it,LiveSessionsPage.java ,it can count peak session,but not
> > what i want.
> >
> > I want to count the online users,
> >
> > for example there a three users here, if somtime a user had closed his(or
> > her) web browser this session number is two now
> >
> >
> > How can I do it ?
> >
> > Thanks!
> >
> >
> > 2011/5/26 Martin Grigorov <mgrigo...@apache.org>
> >
> >> Look deeper. This info is also provided.
> >>
> >> 2011/5/26 KingFee Dong <kingfee.d...@gmail.com>:
> >>> I found that DebugBar panel in wicket-devutils.jar is also talk about
> >> size
> >>> of one session.
> >>>
> >>> What I want to count  is unexpired sessions in the wicket application.
> >>>
> >>> just like a forum,count the online users
> >>>
> >>> Thanks !
> >>>
> >>>
> >>> 2011/5/26 Martin Grigorov <mgrigo...@apache.org>
> >>>
> >>>> Also Tomcat comes with ManagerApplication which provides such kind of
> >>>> information for all deployed apps
> >>>>
> >>>> On Thu, May 26, 2011 at 12:05 PM, Martin Grigorov <
> mgrigo...@apache.org
> >>>> wrote:
> >>>>> see DebugBar panel in wicket-devutils.jar
> >>>>>
> >>>>> 2011/5/26 KingFee Dong <kingfee.d...@gmail.com>:
> >>>>>> hello,
> >>>>>>
> >>>>>> Maybe my question is not very clear.
> >>>>>>
> >>>>>>
> >>>>>>  I want to Statistics  Session Numbers, I mean the sessions in the
> >>>>>> application.
> >>>>>>
> >>>>>> for example there are two users online the session should be 2.
> >>>>>>
> >>>>>> Can anyone give me some solutions ?
> >>>>>>
> >>>>>> Thank you all the same,Martin Grigorov!
> >>>>>>
> >>>>>> Good Luck !
> >>>>>>
> >>>>>> 2011/5/26 Martin Grigorov <mgrigo...@apache.org>
> >>>>>>
> >>>>>>> org.apache.wicket.Session.getSizeInBytes()
> >>>>>>>
> >>>>>>> 2011/5/26 KingFee Dong <kingfee.d...@gmail.com>
> >>>>>>>
> >>>>>>>> Hi,EVERYONE
> >>>>>>>>
> >>>>>>>> I am a newer  to wicket ,now i  want to statistics session,how can
> >> i
> >>>> do
> >>>>>>> it?
> >>>>>>>> Can anyone give me some suggestion ?
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Thanks!
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> --
> >>>>>>> Martin Grigorov
> >>>>>>> jWeekend
> >>>>>>> Training, Consulting, Development
> >>>>>>> http://jWeekend.com <http://jweekend.com/> <http://jweekend.com/>
> <http://jweekend.com/>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>> --
> >>>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Martin Grigorov
> >>>>> jWeekend
> >>>>> Training, Consulting, Development
> >>>>> http://jWeekend.com <http://jweekend.com/> <http://jweekend.com/>
> >>>>>
> >>>>
> >>>>
> >>>> --
> >>>> Martin Grigorov
> >>>> jWeekend
> >>>> Training, Consulting, Development
> >>>> http://jWeekend.com <http://jweekend.com/> <http://jweekend.com/>
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >>>> For additional commands, e-mail: users-h...@wicket.apache.org
> >>>>
> >>>>
> >>
> >>
> >> --
> >>  Martin Grigorov
> >> jWeekend
> >> Training, Consulting, Development
> >> http://jWeekend.com <http://jweekend.com/> <http://jweekend.com/>
>  >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >> For additional commands, e-mail: users-h...@wicket.apache.org
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to