Print Page | Close Window

Problem with users across multiple forums

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=10013
Printed Date: 08 April 2026 at 3:34am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Problem with users across multiple forums
Posted By: xeerex
Subject: Problem with users across multiple forums
Date Posted: 15 April 2004 at 1:35pm

Hey -borg- and everyone,

Glad to see WWG back online.

I have an interesting situation here. I have a very popular forum located at http://www.rexpage.com/myseq/forum - www.rexpage.com/myseq/forum which varies from 20-100 active users at all times. Yes, its running on Access to and very stable to kudos to -borg-. I know it will eventually need to go to SQL Server, but if it ain't broke then I ain't fixing it for now.

I also have just recently setup a forum for a friend at http://www.rexpage.com/tanarushacks - http://www.rexpage.com/tanarushacks but the odd thing is that the active users of the MySEQ forum show up on the Tanarus forum. They are separate databases, and I have verified everything in the code including re-uploading the forum. Also, you will notice on the Tanarus forum that the header graphic points to the MySEQ header graphic but again I have double-verified that the navigation_buttons_inc.asp is correct in the Tanarus forum.

I'm going to disable the stats for the Tanarus forum but want to figure out this problem before I do.

I'm absolutely stumped here. Anyone that can offer advice?



-------------
http://webspacegeeks.com - Need Hosting, Domains, Dedicated Servers?
http://www.smartergeek.com - web design | pc support | training | podcasts | video production



Replies:
Posted By: michael
Date Posted: 15 April 2004 at 9:28pm

If both forums run in the same IIS application the Application Variables are shared, that is why one's active users may show up in another forum.

 



-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: MadDog
Date Posted: 15 April 2004 at 9:42pm
You would have to turn off the use of Application variables and Online Users.

-------------
http://www.iportalx.net" rel="nofollow">


Posted By: Mart
Date Posted: 16 April 2004 at 5:07am
You need to get your host to put the other forum in a differant application pool.


Posted By: WebWiz-Bruce
Date Posted: 16 April 2004 at 8:37am
If you don't wish to turn off application variable on one of the forums, placing one or both the forums in a subdomain would sortout the problem as long as your sub domain ran in it's own application pool.

-------------
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: xeerex
Date Posted: 16 April 2004 at 9:24am

That makes sense. I had the host change the server to keep it from crashing and they must have modified the application pool settings I guess. Its odd that it doesn't affect my main forum at http://www.rexpage.com/forum - www.rexpage.com/forum .

Thanks for the advice guys.....



-------------
http://webspacegeeks.com - Need Hosting, Domains, Dedicated Servers?
http://www.smartergeek.com - web design | pc support | training | podcasts | video production


Posted By: xeerex
Date Posted: 16 April 2004 at 11:19am

Hmm---I ended up setting the application variable setting to "false" in the common.asp.

Can anyone give me a brief "how to" on what that does?



-------------
http://webspacegeeks.com - Need Hosting, Domains, Dedicated Servers?
http://www.smartergeek.com - web design | pc support | training | podcasts | video production


Posted By: WebWiz-Bruce
Date Posted: 16 April 2004 at 2:26pm
To speed up the forum slightly so that things that remain the same throughout the forum don't need to be loaded in each time a page is viewed in the forum application level variables are used.

By storing things like the forum name and settings in application level variables it means that they remain the same and available to all users while the site is running. This way they only need to be loaded into memory once thus cutting down on the calls to the database.


-------------
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: ljamal
Date Posted: 16 April 2004 at 4:49pm
Why are you storing things that are not likely to change in the database? Why not store configuration variable in a config file?

-------------
L. Jamal Walton

http://www.ljamal.com/" rel="nofollow - L. Jamal Inc : Web/ Print Design and ASP Programming


Posted By: dj air
Date Posted: 16 April 2004 at 6:30pm

makes it an online admin area controlled, means

if you want to change something you don't need to download, edit, upload and

it means you can change it anywhere you like just by loggin in....



Posted By: ljamal
Date Posted: 16 April 2004 at 6:39pm
you can edit a text file using the File System Object
and even if access to the FSO is disabled on server, how often do you really change those parameters?
The skins are not editable nor are the language files. At some point you have to weigh admin versus server performance and necessity, IMO configuration settings belong in a config file not stored in a database.

-------------
L. Jamal Walton

http://www.ljamal.com/" rel="nofollow - L. Jamal Inc : Web/ Print Design and ASP Programming


Posted By: WebWiz-Bruce
Date Posted: 17 April 2004 at 12:41pm
Nearly all setting in the admin area are now in application varibles.

These do occassionally get changed and store things like, forum name, email setup, upload setup, forum email address, threads per page, locked forums, avatar enabling, flash enabling, etc, etc.

So although these settings may only get changed once in awhile it is important to keep these settings online and not in a cofig file as it would make setting up and adminstrating the forum very difficult.

As these settings are not changed for each user and remain the same for each user throughout the forum they are storred in application level variabls to cut down on database calls.


-------------
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: ljamal
Date Posted: 17 April 2004 at 12:50pm
Things such colors in the skin files get changed as well, but are available in the admin area. I'm also more likely to change the text in the language files as well, but those are not available in the admin area. However, things like site name, email configs, avatar, flash, etc that I'm not likely to change after set-up are available in the admin.

What is the deciding factor in having one over the other. Snitz and php boards use the same system so this is wide spread, but logically it makes little to no sense. Why use application variables to store information that in most cases constant?

-------------
L. Jamal Walton

http://www.ljamal.com/" rel="nofollow - L. Jamal Inc : Web/ Print Design and ASP Programming


Posted By: WebWiz-Bruce
Date Posted: 17 April 2004 at 1:12pm
Some things like forum configuration only use a hand full of database fields and would be better in constents, but to make the forum easier to setup they are available in the admin area.

Things like skins use many, many variables and would be a big hit on performance and database size (Acces version) and so are not stored in the database.


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