Forums Register Login

Return a list of session ids in use.

+Pie Number of slices to send: Send
Is there a way to return a list of session ids that are currently active?
I'm using Tomcat 5.
Thanks,
Dave
+Pie Number of slices to send: Send
Dave,
There isn't a method that does this. You could write one using the HttpSessionBindingListener by adding/deleting the session id from a list when it is bound/unbound.
Out of curiousity, what are you planning to use this information for?
Why is the word "abbreviation" so long? And this ad is so short?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 796 times.
Similar Threads
how can weblogic be used to get number of active session id?
Session expire problem with HttpSessionListener
How to put List in hibernate Query
How to get the list of existing sessions
request dispatcher
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 01:04:43.