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 | 120 |
List of Users#
[{SessionsPlugin property='users'}]Using users for the property parameter generates an extensive list of all active sessions, like the following :
102.129.130.192, 106.8.139.174, 113.217.243.147, 113.217.243.151, 113.217.243.155, 113.217.243.157, 113.217.243.163, 113.217.243.181, 113.217.243.184, 114.119.128.143, 114.119.128.143, 114.119.128.143, 114.119.128.35, 114.119.128.35, 114.119.128.35, 114.119.133.234, 114.119.134.79, 114.119.135.78, 114.119.140.48, 114.119.141.4, 114.119.142.15, 114.119.145.187, 114.119.145.187, 114.119.145.187, 114.119.145.216, 114.119.145.216, 114.119.145.216, 114.119.146.230, 114.119.149.232, 114.119.149.43, 114.119.149.43, 114.119.149.43, 114.119.151.174, 114.119.154.41, 114.119.154.41, 114.119.154.41, 114.119.154.41, 114.119.154.41, 114.119.155.81, 114.119.158.82, 116.179.32.176, 128.140.106.114, 137.184.172.193, 143.198.191.122, 146.103.10.239, 152.58.22.157, 152.58.22.157, 157.55.39.195, 157.90.156.63, 157.90.156.63, 158.23.170.166, 158.23.170.166, 165.227.149.151, 18.209.104.34, 18.97.9.171, 18.97.9.171, 18.97.9.171, 18.97.9.171, 18.97.9.171, 18.97.9.171, 18.97.9.171, 18.97.9.171, 18.97.9.171, 18.97.9.171, 18.97.9.171, 18.97.9.171, 18.97.9.171, 18.97.9.171, 18.97.9.171, 18.97.9.171, 18.97.9.171, 18.97.9.171, 18.97.9.171, 18.97.9.171, 18.97.9.171, 207.46.13.141, 207.46.13.141, 207.46.13.52, 209.209.9.152, 213.180.203.243, 23.21.179.120, 23.22.150.153, 3.219.138.134, 3.239.59.128, 3.85.91.243, 34.123.250.193, 34.123.250.193, 34.123.250.193, 34.123.250.193, 34.123.250.193, 40.77.167.116, 40.77.167.156, 40.77.167.20, 40.77.167.6, 42.236.17.122, 44.192.50.29, 44.204.91.124, 49.13.24.81, 49.13.24.81, 5.78.78.245, 5.78.78.245, 54.161.171.109, 54.227.105.52, 54.236.17.132, 54.242.207.164, 61.250.32.12, 61.250.32.21, 61.250.32.40, 61.250.32.49, 61.250.32.49, 66.249.74.136, 66.249.74.137, 66.249.74.4, 66.249.74.5, 66.249.74.6, 66.249.74.6, 77.75.77.54, 77.75.79.54, 77.75.79.54, 78.47.173.76
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 :
102.129.130.192(1), 66.249.74.4(1), 114.119.155.81(1), 66.249.74.5(1), 54.227.105.52(1), 66.249.74.6(2), 66.249.74.137(1), 77.75.79.54(2), 66.249.74.136(1), 114.119.135.78(1), 128.140.106.114(1), 157.90.156.63(2), 113.217.243.157(1), 114.119.145.187(3), 113.217.243.155(1), 114.119.128.143(3), 207.46.13.141(2), 40.77.167.20(1), 152.58.22.157(2), 114.119.158.82(1), 18.209.104.34(1), 61.250.32.21(1), 42.236.17.122(1), 113.217.243.151(1), 23.21.179.120(1), 116.179.32.176(1), 207.46.13.52(1), 34.123.250.193(5), 113.217.243.147(1), 3.85.91.243(1), 40.77.167.156(1), 23.22.150.153(1), 40.77.167.116(1), 54.242.207.164(1), 40.77.167.6(1), 114.119.146.230(1), 54.161.171.109(1), 114.119.141.4(1), 5.78.78.245(2), 3.239.59.128(1), 61.250.32.12(1), 114.119.133.234(1), 113.217.243.181(1), 146.103.10.239(1), 113.217.243.184(1), 49.13.24.81(2), 77.75.77.54(1), 143.198.191.122(1), 54.236.17.132(1), 114.119.154.41(5), 44.192.50.29(1), 78.47.173.76(1), 106.8.139.174(1), 18.97.9.171(21), 114.119.140.48(1), 61.250.32.49(2), 3.219.138.134(1), 114.119.128.35(3), 157.55.39.195(1), 114.119.142.15(1), 114.119.149.232(1), 213.180.203.243(1), 44.204.91.124(1), 158.23.170.166(2), 209.209.9.152(1), 165.227.149.151(1), 61.250.32.40(1), 114.119.134.79(1), 114.119.151.174(1), 113.217.243.163(1), 114.119.149.43(3), 137.184.172.193(1), 114.119.145.216(3)
See: JSPWikiCorePlugin
Category.Plugins