Print Page | Close Window

Is More than 1 WWF install possible?

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


Topic: Is More than 1 WWF install possible?
Posted By: jeremyseda
Subject: Is More than 1 WWF install possible?
Date Posted: 12 May 2004 at 12:19pm

Hello,

I'm having some issues installing Web-Wiz Forums (WWF) on more than one location of my site.  They are stand-alone, right down to the databases, which are named and referenced differently (i.e., wwForum_wat.mdb and wwForum_wln.mdb).  However, whenever I go through the Administration of one of the forums, it updates links and Forum Titles.  For example, up above, you see "Web Wiz Forums : Web Wiz Forums Support : Post New Topic."  If this was one instance of WWF on my site and I updated the other to have the title "Macromedia Flash Forums," then the topic on the first instance would be changed to "Macromedia Flash Forums...," even though the database and files are stand-alone.  Does anyone know how to get two or more instances of the WWF working on the same web site?  Any help would be greatly appreciated.




Replies:
Posted By: Semikolon
Date Posted: 13 May 2004 at 9:42am
disable application variables.. this is done in common.asp and admin/common.asp


Posted By: Semikolon
Date Posted: 13 May 2004 at 9:43am
oh shoot.. I forgot:

or ask your host to create a new application for your second forum


Posted By: jeremyseda
Date Posted: 13 May 2004 at 1:39pm

Although I understand the VB syntax, I'm not fluent in developing ASP.  Is this a pretty easy modification in the common.asp files?  If not, could you point to which lines would need modification and how.  Thanks so much for your help Semikolon!  I greatly appreciate it!



Posted By: shovel
Date Posted: 13 May 2004 at 2:44pm
Hello Jeremy,

I have run 3 versions of the access forum in the past and now am running 3 versions of the SQL forum on the same site. 

You have to edit BOTH of the common.asp files (there's also one in the admin folder) in both of the forums.  And in those two files you must not only change the PATH to the specific databases, but you must also rename the FORUM COOKIE in at least one of the forums to avoid any conflicts.

Approx. line 169 of the main directory's common.asp and line 96 in the admin/common.asp needs to be changed in one forum:

'Set up the forum cookie name
'(This is useful if you run multiple copies of Web Wiz Forums on the same site so that cookies don't interfer with each other)
Const strCookieName = "WWF"

Jim


Posted By: dpyers
Date Posted: 13 May 2004 at 3:38pm

You may be able to create a new application yourself if you can create subdomains - e.g. flash.mysite.com.



-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: jeremyseda
Date Posted: 13 May 2004 at 5:58pm
Hey Semikolon, thanks for your replies.  I had a look at the common.asp files and couldn't tell which variable(s) I should disable.  Could you possibly point me to which variables need to be disabled?  I can read and even write some VBScript, but don't consider myself fluent in ASP.  Thanks much! :)


Posted By: dj air
Date Posted: 13 May 2004 at 6:11pm

look for this section of code in both common.asp files

'Set if application variables are used for forum configuration
'This will make your forum run faster as there are less hits on the database, but if you are using free web hosting or
'are on a server where you share your application oject with others then you will need to set this to false
blnUseApplicationVariables = true

change the section in blue refereanced above to False

 



Posted By: jeremyseda
Date Posted: 13 May 2004 at 7:20pm
 PERFECT!  Thanks much guys & gals, your well-documented replies.  Needless to say, it's working perfectly!


Posted By: psycotik
Date Posted: 14 May 2004 at 1:47am

Can i ask what is hard about prefixing all application variables with the cookie name?

Why hasnt that been done? Are there any implications which that may cause?



Posted By: WebWiz-Bruce
Date Posted: 14 May 2004 at 2:57am
Application variabables can't use the same type of prefixing as say database tables.

The only solution would be to change all the application variable names throughout all the files.


-------------
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: psycotik
Date Posted: 15 May 2004 at 1:33am

So in essence

Application (strCookieName & "saryAppActiveUsers") = x


Wont work?




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