The SessionsPlugin is a JSPWikiPlugin that displays information about active wiki sessions.
[{SessionsPlugin}]When using the plugin without any parameters, it generates a number as shown below:
Total Active Sessions | 67 |
[{SessionsPlugin property='users'}]Using users for the property parameter generates an extensive list of all active sessions, like the following :
116.132.254.183, 116.204.2.99, 116.204.96.120, 123.182.49.60, 128.140.41.193, 130.0.237.96, 130.0.237.96, 138.197.177.187, 142.132.180.39, 157.230.28.109, 167.235.143.113, 168.119.53.160, 168.119.53.160, 18.97.9.173, 18.97.9.173, 18.97.9.173, 18.97.9.173, 18.97.9.173, 18.97.9.173, 18.97.9.173, 18.97.9.173, 18.97.9.173, 18.97.9.173, 18.97.9.173, 18.97.9.173, 18.97.9.173, 184.73.50.52, 188.226.136.194, 209.209.9.152, 216.73.216.254, 216.73.216.254, 216.73.216.254, 216.73.216.254, 216.73.216.254, 216.73.216.254, 216.73.216.254, 216.73.216.254, 216.73.216.254, 216.73.216.254, 216.73.216.254, 216.73.216.254, 216.73.216.254, 216.73.216.254, 3.234.226.211, 3.235.251.142, 3.236.203.43, 3.84.127.179, 3.85.19.2, 34.169.1.53, 36.57.104.234, 42.236.101.199, 42.236.17.32, 44.200.127.74, 44.205.244.190, 44.205.244.190, 49.13.164.148, 54.175.183.88, 54.211.78.193, 54.237.171.119, 54.242.98.94, 66.249.79.7, 66.249.79.7, 66.249.79.8, 72.153.231.53, 72.153.231.53, 98.80.148.241, Guest
[{SessionsPlugin property='distinctUsers'}]Using distinctUsers for the property parameter generates a list of sessions whereby duplicates are only shown once followed by a counter, like the following :
116.132.254.183(1), 54.242.98.94(1), 3.234.226.211(1), 167.235.143.113(1), 3.85.19.2(1), 138.197.177.187(1), 3.236.203.43(1), 36.57.104.234(1), 42.236.101.199(1), 54.237.171.119(1), 123.182.49.60(1), 188.226.136.194(1), 42.236.17.32(1), 116.204.96.120(1), 18.97.9.173(13), 98.80.148.241(1), 66.249.79.7(2), 128.140.41.193(1), 66.249.79.8(1), 3.235.251.142(1), 130.0.237.96(2), 49.13.164.148(1), 168.119.53.160(2), 184.73.50.52(1), 142.132.180.39(1), 209.209.9.152(1), 216.73.216.254(14), 54.175.183.88(1), Guest(1), 157.230.28.109(1), 44.205.244.190(2), 3.84.127.179(1), 72.153.231.53(2), 54.211.78.193(1), 34.169.1.53(1), 44.200.127.74(1), 116.204.2.99(1)
See: JSPWikiCorePlugin