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 | 65 |
List of Users#
[{SessionsPlugin property='users'}]Using users for the property parameter generates an extensive list of all active sessions, like the following :
1.24.16.120, 1.83.125.8, 106.8.136.227, 106.8.137.90, 106.8.139.95, 116.132.252.127, 119.28.101.51, 119.28.101.51, 124.239.12.16, 128.140.41.193, 128.241.235.47, 142.132.180.39, 146.174.173.190, 146.174.178.164, 146.174.181.192, 146.174.183.28, 146.174.186.98, 148.113.206.49, 152.56.68.113, 159.138.3.137, 167.172.132.45, 167.235.143.113, 167.71.10.127, 168.119.53.160, 175.152.29.152, 18.206.253.45, 181.122.176.162, 186.211.201.38, 189.70.75.169, 191.8.55.10, 20.15.133.162, 216.73.216.19, 23.23.213.182, 3.236.84.130, 3.81.253.213, 3.84.151.107, 34.9.13.43, 34.9.13.43, 40.77.167.30, 40.77.167.60, 40.77.167.60, 40.77.167.78, 43.159.143.190, 43.159.143.190, 43.165.190.5, 45.55.34.224, 50.16.80.226, 52.167.144.179, 52.167.144.194, 52.167.144.22, 52.167.144.22, 52.167.144.235, 52.167.144.238, 52.45.92.83, 54.198.3.16, 54.235.191.179, 59.61.184.199, 64.227.117.234, 66.249.73.103, 66.249.73.103, 78.47.173.76, 88.99.80.227, 89.58.33.148, 98.80.4.104, 98.81.101.255
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 :
59.61.184.199(1), 167.172.132.45(1), 43.165.190.5(1), 146.174.181.192(1), 167.235.143.113(1), 45.55.34.224(1), 1.24.16.120(1), 23.23.213.182(1), 216.73.216.19(1), 106.8.137.90(1), 52.167.144.235(1), 98.80.4.104(1), 98.81.101.255(1), 18.206.253.45(1), 52.167.144.238(1), 106.8.136.227(1), 146.174.173.190(1), 52.167.144.194(1), 191.8.55.10(1), 40.77.167.60(2), 119.28.101.51(2), 181.122.176.162(1), 3.236.84.130(1), 1.83.125.8(1), 43.159.143.190(2), 52.167.144.22(2), 3.81.253.213(1), 146.174.186.98(1), 40.77.167.78(1), 148.113.206.49(1), 40.77.167.30(1), 54.235.191.179(1), 128.241.235.47(1), 88.99.80.227(1), 34.9.13.43(2), 159.138.3.137(1), 146.174.183.28(1), 50.16.80.226(1), 175.152.29.152(1), 54.198.3.16(1), 52.167.144.179(1), 66.249.73.103(2), 89.58.33.148(1), 78.47.173.76(1), 167.71.10.127(1), 20.15.133.162(1), 116.132.252.127(1), 128.140.41.193(1), 186.211.201.38(1), 64.227.117.234(1), 168.119.53.160(1), 146.174.178.164(1), 142.132.180.39(1), 152.56.68.113(1), 189.70.75.169(1), 52.45.92.83(1), 106.8.139.95(1), 124.239.12.16(1), 3.84.151.107(1)
See: JSPWikiCorePlugin
Category.Plugins