0

zk中如何获取所有的会话

asked 2012-04-16 08:48:29 +0800

z155096552 gravatar image z155096552
42 1

想获取在线的所有用户,如何获取所有的session

我看Sessions里头只统计数量这个方法,不能获取所有session对象,有什么方便的方法没?

delete flag offensive retag edit

1 Reply

Sort by » oldest newest

answered 2012-05-21 09:42:07 +0800

paowang gravatar image paowang
140 6

你可以參考這個連結:http://stackoverflow.com/questions/3771103/how-do-i-get-a-list-of-all-httpsession-objects-in-a-web-application

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-04-16 08:48:29 +0800

Seen: 1,089 times

Last updated: May 21 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More