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=28848
Printed Date: 01 April 2026 at 6:03pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Active users
Posted By: Marty7902
Subject: Active users
Date Posted: 12 September 2010 at 6:31pm
I've been running WWF for a couple of years now without any problems. Recently we changed over to a new server, so I moved all files and created a backup of the (mysql) database and imported that sql file in the new database.
The only thing I had to do to make things work again was changing the privileges on the \forum\uploads folder. So far so good, and everything seems to be working just fine... except for one thing...
Different users are seeing different active users. So for example, I'm seeing 20 guest and 5 registered users; and someone else only sees himself and maybe a couple of guests.

I'm quite experienced, but I can't put my head around this issue. So any help is very much appreciated.



Replies:
Posted By: 123Simples
Date Posted: 12 September 2010 at 8:00pm
This sounds definitely like a database issue, almost as if something was missed when you exported and then imported the data. Have you not considered a web wiz forum hosting solution, as Bruce is far more knowledgeable than I am for sure, and you sound like you know what you're doing too, but it must have been the switch-over that caused this.


-------------
http://www.123simples.com/" rel="nofollow - Visit 123 Simples Web Design


Posted By: WebWiz-Bruce
Date Posted: 13 September 2010 at 10:58am
I doubt it's a database issue as the active users are stored in the web servers memory rather than the database.

Are you suing a server farm, multiple application pools, or load balanced servers?

If you use any of these then as the memory where the active users is stored would not be shared between different processes and/or servers.


-------------
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


Posted By: Marty7902
Date Posted: 13 September 2010 at 3:49pm
Originally posted by WebWiz-Bruce WebWiz-Bruce wrote:

I doubt it's a database issue as the active users are stored in the web servers memory rather than the database.
Agreed.
Quote Are you suing a server farm, multiple application pools, or load balanced servers?

If you use any of these then as the memory where the active users is stored would not be shared between different processes and/or servers.
As a matter of fact I indeed migrated to a grid hosting solution. I can't believe I didn't think of that.
The blnDatabaseHeldSessions variable (in includes/setup_options_inc.asp) is already set to True by default, so the sessions are all good. The data stored in the (tbl)Session table also seems to confirm this with a constantly changing number of records (~200 right now).

The active users array (activeUsers()) - the array needed for the Active Users list - is obviously not related by any of this.

The options I have:
- Disable the Active Users information.
- Rewrite the active users function(s) to store and retrieve the data from the (tbl)session table.



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