Print Page | Close Window

Online users problem

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=19540
Printed Date: 12 April 2026 at 4:04am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Online users problem
Posted By: ikush
Subject: Online users problem
Date Posted: 25 April 2006 at 3:42pm
Heya guys.. im new here so Hey! :)
 
I've got a problem as i updated from 7.5 to 8 -
 
i have several sites pointing to my forum (its alias)
http://www.a.com/forum/ - Http://www.a.com/forum/  and http://www.b.com/forum/ - http://www.b.com/forum/
 
both are the same forum.
 
but in the new forum.. when i check online users i see at one site 10 online users and in the other one 30.
 
so it counts it per domain.. how can i change it to check for all the domains altogather? (its the same server so i thought about application or db count)
 
but in the old forum i didnt had that problem so i wanted to know what changed so i will be able to fix it.
 
Thanks ALOT! :)
Ika.



Replies:
Posted By: WebWiz-Bruce
Date Posted: 26 April 2006 at 10:23am
The active users are kept in an application level array.

The only way each forum can display a different number of users is if each site is within it's own application separate from the other site.


-------------
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: ikush
Date Posted: 26 April 2006 at 11:02am
how can i use a global application counter?
so i will have all the sites using the same application..
 
is it possible?


Posted By: WebWiz-Bruce
Date Posted: 26 April 2006 at 11:06am
This is done in IIS.

Usually if you set a site up simply as an aliases by default they use the same application.

You would need to go into IIS and check your settings


-------------
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: dfrancis
Date Posted: 26 April 2006 at 2:25pm
I haven't looked at the new application variable methods but... isn't it conceivably possible to prefix the variable array so you can share between sites? Kind of like the cookie and table prefix.
 
Sorry... stuck my nose in.


Posted By: WebWiz-Bruce
Date Posted: 27 April 2006 at 9:57am
You can change the application variable prefix, but this is used if you are running two web wiz forums on the same site.

In this case both sites point to the exact same installation of web wiz forums so would be using the same application variable name.


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