JSPWiki:SessionsPlugin

Zeigt alle aktiven Sessions im Wiki an, Standard Plugin.

Code#

<<SessionsPlugin>>

Parameter

  • users
  • distinctUsers

Die cci Erweiterung JActiveUsers zeigt im gegensatz zum SessionPlugin die anzahl der "distinctUsers", nicht eine Liste. Diese Plugin ermittelt im Hintergrund regelmäßig die Sessions und "cached" die Ergebnisse, so ist die Ausführungszeit des Plugins sehr gering und damit geeignet, auch in das linke Menü eingebunden zu werden, dass ja bei jedem Seitenaufruf ausgeführt wird:

<<JActiveUsers>> Besucher online\\

Parameter von JActiveUsers

  • verbose -> ausführliche Anzeige: Sessions können noch aktiv sein, wenn der Benutzer den Browser schon verlassen hat. Mit verbose wird die Session Timeout angezeigt, nach der eine Session spätestens geschlossen wird.
  • cached -> default ist true, Ausführungzeit alle 5 Minuten. Sollte auf true gesetzt bleiben, falls es im Linken Menü mit eingebunden wird.
  • method -> "sessions oder distinctUsers"

'method' ermöglicht es, zu wählen wie gezählt wird. Wird der WikiServer über einen Proxy, z.B. Apache betrieben, kann es sein dass immer dieselbe IP in die Logs geschrieben wird, nämlich die des Proxies. Somit ist das zählen der UniqueIP's sinnlos. Falls die Nutzer sich jedoch einloggen müssen funktioniert die diestinctUsers Methode trotzdem, da die LoginNamen bekannt sind. Falls nicht, kann über ein Property die defaultMethode gewählt werden:

#######################################################################
#
# JActiveUsers
# valid: sessions,distinctUsers
# If not set, distinctUsers is default.
# 
# jspwiki.activeUsers.defaultMethod = sessions

Anzeige#

<<SessionsPlugin>>703
<<SessionsPlugin property='users'>>101.67.50.37, 112.13.112.169, 157.55.39.195, 157.55.39.195, 157.55.39.195, 157.55.39.205, 157.55.39.205, 157.55.39.205, 157.55.39.205, 157.55.39.205, 157.55.39.76, 17.121.114.164, 185.191.171.1, 185.191.171.1, 185.191.171.1, 185.191.171.1, 185.191.171.1, 185.191.171.1, 185.191.171.1, 185.191.171.1, 185.191.171.1, 185.191.171.1, 185.191.171.1, 185.191.171.10, 185.191.171.10, 185.191.171.10, 185.191.171.10, 185.191.171.10, 185.191.171.10, 185.191.171.10, 185.191.171.10, 185.191.171.10, 185.191.171.10, 185.191.171.10, 185.191.171.10, 185.191.171.10, 185.191.171.10, 185.191.171.10, 185.191.171.10, 185.191.171.10, 185.191.171.10, 185.191.171.11, 185.191.171.11, 185.191.171.11, 185.191.171.11, 185.191.171.11, 185.191.171.11, 185.191.171.11, 185.191.171.11, 185.191.171.11, 185.191.171.11, 185.191.171.11, 185.191.171.11, 185.191.171.11, 185.191.171.11, 185.191.171.12, 185.191.171.12, 185.191.171.12, 185.191.171.12, 185.191.171.12, 185.191.171.12, 185.191.171.12, 185.191.171.12, 185.191.171.12, 185.191.171.12, 185.191.171.13, 185.191.171.13, 185.191.171.13, 185.191.171.13, 185.191.171.13, 185.191.171.13, 185.191.171.13, 185.191.171.13, 185.191.171.13, 185.191.171.13, 185.191.171.13, 185.191.171.13, 185.191.171.13, 185.191.171.13, 185.191.171.14, 185.191.171.14, 185.191.171.14, 185.191.171.14, 185.191.171.14, 185.191.171.14, 185.191.171.14, 185.191.171.14, 185.191.171.14, 185.191.171.15, 185.191.171.15, 185.191.171.15, 185.191.171.15, 185.191.171.15, 185.191.171.15, 185.191.171.15, 185.191.171.15, 185.191.171.15, 185.191.171.15, 185.191.171.16, 185.191.171.16, 185.191.171.16, 185.191.171.16, 185.191.171.16, 185.191.171.16, 185.191.171.16, 185.191.171.16, 185.191.171.16, 185.191.171.16, 185.191.171.16, 185.191.171.16, 185.191.171.17, 185.191.171.17, 185.191.171.17, 185.191.171.17, 185.191.171.17, 185.191.171.17, 185.191.171.17, 185.191.171.17, 185.191.171.17, 185.191.171.17, 185.191.171.17, 185.191.171.18, 185.191.171.18, 185.191.171.18, 185.191.171.18, 185.191.171.18, 185.191.171.18, 185.191.171.18, 185.191.171.19, 185.191.171.19, 185.191.171.19, 185.191.171.19, 185.191.171.19, 185.191.171.19, 185.191.171.19, 185.191.171.19, 185.191.171.2, 185.191.171.2, 185.191.171.2, 185.191.171.2, 185.191.171.2, 185.191.171.2, 185.191.171.2, 185.191.171.2, 185.191.171.20, 185.191.171.20, 185.191.171.20, 185.191.171.20, 185.191.171.21, 185.191.171.21, 185.191.171.21, 185.191.171.21, 185.191.171.21, 185.191.171.21, 185.191.171.21, 185.191.171.21, 185.191.171.21, 185.191.171.21, 185.191.171.22, 185.191.171.22, 185.191.171.22, 185.191.171.22, 185.191.171.22, 185.191.171.22, 185.191.171.22, 185.191.171.22, 185.191.171.22, 185.191.171.22, 185.191.171.22, 185.191.171.22, 185.191.171.22, 185.191.171.22, 185.191.171.22, 185.191.171.22, 185.191.171.22, 185.191.171.23, 185.191.171.23, 185.191.171.23, 185.191.171.23, 185.191.171.23, 185.191.171.23, 185.191.171.23, 185.191.171.23, 185.191.171.23, 185.191.171.23, 185.191.171.23, 185.191.171.23, 185.191.171.23, 185.191.171.23, 185.191.171.23, 185.191.171.23, 185.191.171.23, 185.191.171.23, 185.191.171.24, 185.191.171.24, 185.191.171.24, 185.191.171.24, 185.191.171.24, 185.191.171.24, 185.191.171.24, 185.191.171.24, 185.191.171.24, 185.191.171.25, 185.191.171.25, 185.191.171.25, 185.191.171.25, 185.191.171.25, 185.191.171.25, 185.191.171.25, 185.191.171.25, 185.191.171.25, 185.191.171.25, 185.191.171.25, 185.191.171.25, 185.191.171.25, 185.191.171.26, 185.191.171.26, 185.191.171.26, 185.191.171.26, 185.191.171.26, 185.191.171.26, 185.191.171.26, 185.191.171.26, 185.191.171.26, 185.191.171.26, 185.191.171.26, 185.191.171.26, 185.191.171.26, 185.191.171.26, 185.191.171.26, 185.191.171.3, 185.191.171.3, 185.191.171.3, 185.191.171.3, 185.191.171.3, 185.191.171.3, 185.191.171.3, 185.191.171.3, 185.191.171.3, 185.191.171.3, 185.191.171.3, 185.191.171.3, 185.191.171.3, 185.191.171.33, 185.191.171.33, 185.191.171.33, 185.191.171.33, 185.191.171.34, 185.191.171.34, 185.191.171.34, 185.191.171.34, 185.191.171.34, 185.191.171.34, 185.191.171.34, 185.191.171.34, 185.191.171.35, 185.191.171.35, 185.191.171.35, 185.191.171.35, 185.191.171.35, 185.191.171.36, 185.191.171.36, 185.191.171.36, 185.191.171.36, 185.191.171.36, 185.191.171.37, 185.191.171.37, 185.191.171.37, 185.191.171.37, 185.191.171.37, 185.191.171.37, 185.191.171.37, 185.191.171.38, 185.191.171.38, 185.191.171.38, 185.191.171.38, 185.191.171.38, 185.191.171.38, 185.191.171.38, 185.191.171.38, 185.191.171.38, 185.191.171.38, 185.191.171.38, 185.191.171.38, 185.191.171.39, 185.191.171.39, 185.191.171.39, 185.191.171.39, 185.191.171.39, 185.191.171.39, 185.191.171.4, 185.191.171.4, 185.191.171.4, 185.191.171.4, 185.191.171.4, 185.191.171.4, 185.191.171.4, 185.191.171.4, 185.191.171.4, 185.191.171.4, 185.191.171.4, 185.191.171.4, 185.191.171.4, 185.191.171.4, 185.191.171.4, 185.191.171.40, 185.191.171.40, 185.191.171.40, 185.191.171.40, 185.191.171.40, 185.191.171.40, 185.191.171.40, 185.191.171.40, 185.191.171.40, 185.191.171.40, 185.191.171.41, 185.191.171.41, 185.191.171.41, 185.191.171.41, 185.191.171.41, 185.191.171.41, 185.191.171.41, 185.191.171.41, 185.191.171.41, 185.191.171.42, 185.191.171.42, 185.191.171.42, 185.191.171.42, 185.191.171.42, 185.191.171.42, 185.191.171.43, 185.191.171.43, 185.191.171.44, 185.191.171.44, 185.191.171.44, 185.191.171.44, 185.191.171.44, 185.191.171.44, 185.191.171.44, 185.191.171.44, 185.191.171.44, 185.191.171.45, 185.191.171.45, 185.191.171.45, 185.191.171.45, 185.191.171.45, 185.191.171.45, 185.191.171.45, 185.191.171.5, 185.191.171.5, 185.191.171.5, 185.191.171.5, 185.191.171.5, 185.191.171.5, 185.191.171.5, 185.191.171.5, 185.191.171.5, 185.191.171.5, 185.191.171.5, 185.191.171.5, 185.191.171.5, 185.191.171.5, 185.191.171.5, 185.191.171.5, 185.191.171.5, 185.191.171.5, 185.191.171.5, 185.191.171.6, 185.191.171.6, 185.191.171.6, 185.191.171.6, 185.191.171.6, 185.191.171.6, 185.191.171.6, 185.191.171.6, 185.191.171.6, 185.191.171.6, 185.191.171.7, 185.191.171.7, 185.191.171.7, 185.191.171.7, 185.191.171.7, 185.191.171.7, 185.191.171.7, 185.191.171.7, 185.191.171.7, 185.191.171.7, 185.191.171.7, 185.191.171.8, 185.191.171.8, 185.191.171.8, 185.191.171.8, 185.191.171.8, 185.191.171.8, 185.191.171.8, 185.191.171.8, 185.191.171.8, 185.191.171.8, 185.191.171.8, 185.191.171.9, 185.191.171.9, 185.191.171.9, 185.191.171.9, 185.191.171.9, 185.191.171.9, 185.191.171.9, 185.191.171.9, 185.191.171.9, 185.191.171.9, 185.191.171.9, 185.191.171.9, 185.191.171.9, 185.191.171.9, 185.191.171.9, 207.46.13.117, 207.46.13.117, 207.46.13.117, 207.46.13.117, 207.46.13.117, 207.46.13.149, 207.46.13.149, 207.46.13.149, 216.244.66.199, 216.244.66.199, 216.244.66.199, 216.244.66.199, 216.244.66.199, 216.244.66.199, 216.244.66.199, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 3.235.140.84, 5.161.70.134, 5.161.70.134, 54.36.148.101, 54.36.148.103, 54.36.148.103, 54.36.148.104, 54.36.148.106, 54.36.148.106, 54.36.148.107, 54.36.148.107, 54.36.148.110, 54.36.148.110, 54.36.148.111, 54.36.148.115, 54.36.148.118, 54.36.148.119, 54.36.148.119, 54.36.148.12, 54.36.148.124, 54.36.148.124, 54.36.148.129, 54.36.148.130, 54.36.148.130, 54.36.148.132, 54.36.148.135, 54.36.148.137, 54.36.148.138, 54.36.148.138, 54.36.148.14, 54.36.148.141, 54.36.148.142, 54.36.148.142, 54.36.148.142, 54.36.148.145, 54.36.148.146, 54.36.148.147, 54.36.148.149, 54.36.148.154, 54.36.148.155, 54.36.148.155, 54.36.148.157, 54.36.148.157, 54.36.148.165, 54.36.148.169, 54.36.148.173, 54.36.148.177, 54.36.148.180, 54.36.148.184, 54.36.148.188, 54.36.148.19, 54.36.148.190, 54.36.148.193, 54.36.148.196, 54.36.148.199, 54.36.148.20, 54.36.148.202, 54.36.148.202, 54.36.148.204, 54.36.148.207, 54.36.148.208, 54.36.148.211, 54.36.148.213, 54.36.148.215, 54.36.148.215, 54.36.148.215, 54.36.148.216, 54.36.148.219, 54.36.148.219, 54.36.148.220, 54.36.148.221, 54.36.148.223, 54.36.148.224, 54.36.148.225, 54.36.148.228, 54.36.148.228, 54.36.148.229, 54.36.148.231, 54.36.148.232, 54.36.148.234, 54.36.148.235, 54.36.148.236, 54.36.148.237, 54.36.148.241, 54.36.148.242, 54.36.148.249, 54.36.148.249, 54.36.148.249, 54.36.148.25, 54.36.148.252, 54.36.148.253, 54.36.148.255, 54.36.148.27, 54.36.148.29, 54.36.148.29, 54.36.148.32, 54.36.148.34, 54.36.148.34, 54.36.148.36, 54.36.148.38, 54.36.148.38, 54.36.148.39, 54.36.148.40, 54.36.148.40, 54.36.148.42, 54.36.148.44, 54.36.148.45, 54.36.148.45, 54.36.148.45, 54.36.148.45, 54.36.148.45, 54.36.148.51, 54.36.148.54, 54.36.148.55, 54.36.148.56, 54.36.148.58, 54.36.148.59, 54.36.148.61, 54.36.148.63, 54.36.148.65, 54.36.148.65, 54.36.148.66, 54.36.148.68, 54.36.148.69, 54.36.148.7, 54.36.148.71, 54.36.148.73, 54.36.148.76, 54.36.148.8, 54.36.148.84, 54.36.148.86, 54.36.148.9, 54.36.148.97, 54.36.148.98, 54.36.148.98, 54.36.148.99, 54.36.148.99, 54.36.149.100, 54.36.149.100, 54.36.149.107, 54.36.149.107, 54.36.149.13, 54.36.149.14, 54.36.149.15, 54.36.149.23, 54.36.149.25, 54.36.149.26, 54.36.149.28, 54.36.149.29, 54.36.149.3, 54.36.149.33, 54.36.149.37, 54.36.149.39, 54.36.149.43, 54.36.149.44, 54.36.149.47, 54.36.149.54, 54.36.149.55, 54.36.149.55, 54.36.149.55, 54.36.149.55, 54.36.149.55, 54.36.149.58, 54.36.149.59, 54.36.149.62, 54.36.149.62, 54.36.149.63, 54.36.149.63, 54.36.149.63, 54.36.149.64, 54.36.149.66, 54.36.149.82, 54.36.149.84, 54.36.149.84, 54.36.149.89, 54.36.149.89, 54.36.149.95, 54.36.149.98, 54.36.149.98, 54.36.149.99, 62.138.2.14, 62.138.2.14, 62.138.2.14, 62.138.2.14, 62.138.2.14, 62.138.2.14, 62.138.2.14, 62.138.2.14, 62.138.2.14, 62.138.2.14, 62.138.2.14, 62.138.2.14, 62.138.2.14, 62.138.2.14, 62.138.2.14, 62.138.2.14, 62.138.2.14, 62.138.2.14, 62.138.2.14, 62.138.2.14, 62.138.2.14, 62.138.2.14, 62.138.2.14, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 62.210.215.110, 64.124.8.36, 64.124.8.36, 85.25.210.23
<<SessionsPlugin property='distinctUsers'>>64.124.8.36(2), 85.25.210.23(1), 54.36.149.64(1), 54.36.148.97(1), 54.36.148.169(1), 54.36.148.202(2), 54.36.149.62(2), 216.244.66.199(7), 54.36.149.63(3), 54.36.148.12(1), 101.67.50.37(1), 54.36.148.165(1), 54.36.148.98(2), 54.36.149.66(1), 54.36.148.99(2), 54.36.148.14(1), 54.36.148.19(1), 207.46.13.149(3), 54.36.148.208(1), 54.36.148.207(1), 54.36.148.204(1), 54.36.148.211(1), 54.36.148.177(1), 54.36.148.20(1), 54.36.148.213(1), 54.36.148.173(1), 54.36.148.27(1), 157.55.39.205(5), 54.36.148.25(1), 54.36.148.29(2), 54.36.149.100(2), 54.36.148.138(2), 54.36.149.82(1), 62.210.215.110(41), 54.36.148.137(1), 54.36.148.145(1), 54.36.148.147(1), 54.36.149.84(2), 54.36.148.146(1), 54.36.148.141(1), 54.36.148.34(2), 54.36.148.32(1), 54.36.148.142(3), 54.36.149.89(2), 54.36.148.38(2), 54.36.148.39(1), 54.36.148.36(1), 157.55.39.195(3), 54.36.148.9(1), 54.36.148.7(1), 54.36.148.8(1), 54.36.148.149(1), 54.36.148.155(2), 54.36.148.42(1), 54.36.149.98(2), 185.191.171.45(7), 54.36.149.95(1), 185.191.171.44(9), 54.36.148.157(2), 54.36.148.40(2), 54.36.148.45(5), 54.36.149.13(1), 54.36.149.14(1), 54.36.148.154(1), 54.36.149.99(1), 54.36.148.44(1), 54.36.149.15(1), 185.191.171.43(2), 185.191.171.42(6), 185.191.171.41(9), 185.191.171.40(10), 54.36.149.107(2), 157.55.39.76(1), 54.36.148.119(2), 54.36.148.237(1), 54.36.148.115(1), 54.36.148.236(1), 54.36.148.118(1), 185.191.171.36(5), 185.191.171.35(5), 185.191.171.34(8), 185.191.171.33(4), 54.36.148.124(2), 54.36.148.51(1), 54.36.148.56(1), 185.191.171.39(6), 54.36.149.25(1), 112.13.112.169(1), 185.191.171.38(12), 54.36.148.242(1), 54.36.148.54(1), 185.191.171.37(7), 54.36.148.241(1), 54.36.148.55(1), 54.36.149.23(1), 54.36.149.28(1), 54.36.149.29(1), 54.36.149.3(1), 54.36.148.58(1), 54.36.149.26(1), 17.121.114.164(1), 54.36.148.59(1), 185.191.171.8(11), 185.191.171.9(15), 54.36.148.129(1), 54.36.148.249(3), 185.191.171.25(13), 54.36.148.255(1), 54.36.148.63(1), 185.191.171.24(9), 185.191.171.23(18), 54.36.148.61(1), 185.191.171.22(17), 54.36.148.135(1), 54.36.148.130(2), 54.36.148.68(1), 54.36.148.132(1), 54.36.148.253(1), 54.36.148.65(2), 54.36.149.33(1), 185.191.171.26(15), 54.36.148.252(1), 54.36.148.66(1), 185.191.171.4(15), 54.36.149.39(1), 185.191.171.5(19), 185.191.171.6(10), 54.36.148.69(1), 54.36.149.37(1), 185.191.171.7(11), 185.191.171.21(10), 185.191.171.1(11), 185.191.171.20(4), 185.191.171.2(8), 185.191.171.3(13), 207.46.13.117(5), 54.36.148.219(2), 185.191.171.19(8), 54.36.148.215(3), 54.36.148.71(1), 54.36.148.216(1), 185.191.171.14(9), 54.36.148.101(1), 185.191.171.13(14), 3.235.140.84(28), 54.36.148.188(1), 54.36.148.221(1), 54.36.149.43(1), 185.191.171.12(10), 54.36.148.103(2), 54.36.148.224(1), 185.191.171.11(14), 54.36.148.223(1), 54.36.148.73(1), 185.191.171.18(7), 185.191.171.17(11), 54.36.148.184(1), 54.36.149.47(1), 185.191.171.16(12), 54.36.148.220(1), 54.36.148.76(1), 54.36.149.44(1), 185.191.171.15(10), 54.36.148.180(1), 185.191.171.10(18), 62.138.2.14(23), 54.36.148.229(1), 54.36.148.104(1), 54.36.148.225(1), 54.36.148.107(2), 54.36.148.228(2), 54.36.148.106(2), 54.36.148.111(1), 54.36.148.199(1), 54.36.148.232(1), 54.36.148.86(1), 54.36.149.54(1), 5.161.70.134(2), 54.36.148.235(1), 54.36.148.234(1), 54.36.148.84(1), 54.36.148.196(1), 54.36.149.58(1), 54.36.148.110(2), 54.36.148.231(1), 54.36.149.55(5), 54.36.149.59(1), 54.36.148.193(1), 54.36.148.190(1)
<<JActiveUsers>>189
<<JActiveUsers verboxe='true'>>189 active visitors counted by distinct users, session timeout is 02'00'00 HH:mm:ss, last session creation was at '2022-08-17T02:42:19.609+02:00'

JActiveSessions, ActiveSessions, ActiveUsers, alias SessionPlugin

Add new attachment

Only authorized users are allowed to upload new attachments.

« This page (revision-13) was last changed on 09-Okt-2012 13:35 by ChristophSauer