Print Page | Close Window

Active Users

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=26473
Printed Date: 03 April 2026 at 3:33am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Active Users
Posted By: DoctorB
Subject: Active Users
Date Posted: 03 November 2008 at 1:40pm
In my older version (7.95) of webwiz, I used to show the number of users present throughout the site (not just on forums) by adding the following code:

<%Dim intDisplayDigitsLoopCount
On Error Resume Next
Response.Write Application("intActiveUserNumber")
Response.write " Active Users at Hpathy"%>


Now this code is not working in the version 9.53 Confused

Any ideas?



Replies:
Posted By: WebWiz-Bruce
Date Posted: 03 November 2008 at 4:25pm
It's now kept in an array in the session so you would use:-

saryActiveUsers = Application(strAppPrefix & "saryAppActiveUsersTable")
intActiveUsers = UBound(saryActiveUsers, 2)

The part strAppPrefix is the application variable prefix that you set in your includes/setup_options_inc.asp file

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net