Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Active users
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Active users

 Post Reply Post Reply
Author
Marty7902 View Drop Down
Newbie
Newbie


Joined: 12 September 2010
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marty7902 Quote  Post ReplyReply Direct Link To This Post Topic: Active users
    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.
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Marty7902 View Drop Down
Newbie
Newbie


Joined: 12 September 2010
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marty7902 Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.