How to know the list of the active sessions

2004-10-06 Thread François Richard
Hi, Is there a way to do something like this : Enumeration list = servletContext.getActiveSession(); To solve this problem i have put a list attribute in the context. And use a session listener to refresh this list ... but the problem is that the session are persistent during a stop but not the

RE: How to know the list of the active sessions

2004-10-06 Thread Shapira, Yoav
Hi, Enumeration list = servletContext.getActiveSession(); To solve this problem i have put a list attribute in the context. And use a session listener to refresh this list ... but the problem is that the session are persistent during a stop but not the context attributes which became outdated

Re: How to know the list of the active sessions

2004-10-06 Thread Tim Funk
I have some servlet utilities here which handle that: http://funkman.home.comcast.net/servletutils-0.2/ In particular see SessionViewerListener. -Tim François Richard wrote: Hi, Is there a way to do something like this : Enumeration list = servletContext.getActiveSession(); To solve this problem i

Re: How to know the list of the active sessions

2004-10-06 Thread François Richard
Thanks Yoav and Tim, I will studied your solutions ... Shapira, Yoav wrote: Hi, Enumeration list = servletContext.getActiveSession(); To solve this problem i have put a list attribute in the context. And use a session listener to refresh this list ... but the problem is that the session are