jspωiki
SessionsPlugin

Displays information about active wiki sessions.

This plugin is a JSPWikiCorePlugin available since version 2.3.84.

Parameters#

  • property = 'users | distinctUsers'
    This parameter is optional.

Examples#

Number of Active Wiki Sessionsa#

[{SessionsPlugin}]
When using the plugin without any parameters, it generates a number as shown below:

Total Active Sessions 49

List of Users#

[{SessionsPlugin property='users'}]
Using user for the property parameter generates an extensive list of all active sessions, like the following :

113.199.255.106, 138.21.12.25, 14.139.183.221, 148.198.0.53, 148.198.0.53, 148.198.0.53, 157.55.39.218, 17.58.97.64, 182.74.243.48, 185.214.200.42, 192.31.114.252, 194.171.174.44, 194.186.207.251, 195.37.2.13, 207.46.13.17, 207.46.13.17, 212.219.220.101, 213.120.244.38, 216.151.180.160, 3.209.80.87, 3.209.80.87, 3.209.80.87, 3.209.80.87, 3.209.80.87, 3.209.80.87, 3.209.80.87, 3.209.80.87, 3.209.80.87, 46.4.162.112, 46.4.162.112, 46.4.162.112, 46.4.56.162, 46.4.56.162, 46.4.56.162, 46.6.176.197, 54.36.150.181, 61.12.78.30, 62.159.133.91, 62.6.241.182, 165.225.81.1, 66.249.64.2, 66.249.64.6, 69.162.124.233, 78.109.11.137, 185.46.213.95, 80.154.98.131, 84.50.246.60, 91.242.162.148, 91.242.162.148, 91.242.162.148, 95.90.239.15


List of Distinct Users#

NOTE: This example won't work correctly until the this site is using version 2.5.32 or later. The current version running on this site is 2.10.1.

[{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 :

194.171.174.44(1), 80.154.98.131(1), 3.209.80.87(9), 212.219.220.101(1), 46.4.162.112(3), 148.198.0.53(3), 14.139.183.221(1), 78.109.11.137, 185.46.213.95(1), 113.199.255.106(1), 138.21.12.25(1), 61.12.78.30(1), 17.58.97.64(1), 194.186.207.251(1), 157.55.39.218(1), 195.37.2.13(1), 46.4.56.162(3), 62.6.241.182, 165.225.81.1(1), 185.214.200.42(1), 69.162.124.233(1), 207.46.13.17(2), 66.249.64.6(1), 46.6.176.197(1), 182.74.243.48(1), 66.249.64.2(1), 216.151.180.160(1), 62.159.133.91(1), 192.31.114.252(1), 213.120.244.38(1), 95.90.239.15(1), 84.50.246.60(1), 91.242.162.148(3), 54.36.150.181(1)


Back to JSPWikiPlugins.