The SessionsPlugin is a JSPWikiPlugin that displays information about active wiki sessions.
Parameters#
- property = 'users | distinctUsers'
This parameter is optional.
Examples#
Number of Active Wiki Sessions#
[{SessionsPlugin}]When using the plugin without any parameters, it generates a number as shown below:
Total Active Sessions | 70 |
List of Users#
[{SessionsPlugin property='users'}]Using users for the property parameter generates an extensive list of all active sessions, like the following :
100.26.189.26, 106.8.139.16, 120.33.45.81, 128.140.41.193, 134.122.115.32, 139.59.144.124, 142.132.180.39, 142.147.179.236, 142.147.186.239, 142.147.190.90, 154.29.225.88, 157.245.117.216, 161.35.183.19, 167.235.143.113, 168.119.123.75, 168.119.123.75, 172.105.128.11, 172.236.228.86, 18.217.126.20, 185.244.104.2, 198.240.88.237, 2.56.73.87, 207.32.143.137, 216.73.216.184, 216.73.216.184, 216.73.216.184, 216.73.216.184, 216.73.216.184, 216.73.216.184, 216.73.216.184, 216.73.216.184, 216.73.216.184, 216.73.216.184, 216.73.216.184, 216.73.216.184, 220.181.108.90, 23.239.183.64, 3.15.214.72, 3.15.214.72, 3.15.214.72, 3.15.214.72, 3.15.214.72, 3.15.214.72, 3.15.214.72, 3.234.178.148, 3.235.24.80, 3.239.125.60, 3.80.196.55, 34.239.148.180, 37.156.64.210, 40.88.21.235, 40.88.21.235, 40.88.21.235, 44.202.103.106, 44.202.103.106, 44.211.200.100, 45.138.249.199, 45.43.139.209, 45.61.66.118, 45.67.140.237, 49.13.134.145, 54.234.184.206, 66.249.73.102, 68.183.61.106, 84.32.239.25, 95.85.40.110, 98.84.140.68, Guest, Guest, Guest
List of Distinct Users#
[{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 :
168.119.123.75(2), 216.73.216.184(12), 220.181.108.90(1), 167.235.143.113(1), 3.234.178.148(1), 3.239.125.60(1), 37.156.64.210(1), 142.147.179.236(1), 45.138.249.199(1), 154.29.225.88(1), 3.80.196.55(1), 207.32.143.137(1), 44.211.200.100(1), 45.43.139.209(1), 157.245.117.216(1), 66.249.73.102(1), 3.15.214.72(7), 95.85.40.110(1), 161.35.183.19(1), 128.140.41.193(1), 45.67.140.237(1), 185.244.104.2(1), 198.240.88.237(1), 34.239.148.180(1), 18.217.126.20(1), 142.132.180.39(1), 172.236.228.86(1), 49.13.134.145(1), Guest(3), 98.84.140.68(1), 172.105.128.11(1), 45.61.66.118(1), 100.26.189.26(1), 44.202.103.106(2), 84.32.239.25(1), 2.56.73.87(1), 142.147.190.90(1), 3.235.24.80(1), 68.183.61.106(1), 139.59.144.124(1), 142.147.186.239(1), 106.8.139.16(1), 23.239.183.64(1), 134.122.115.32(1), 120.33.45.81(1), 40.88.21.235(3), 54.234.184.206(1)
See: JSPWikiCorePlugin
Category.Plugins