Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Running Multiple Instances on SQL Server
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Running Multiple Instances on SQL Server

 Post Reply Post Reply
Author
benpeskoe View Drop Down
Newbie
Newbie


Joined: 21 April 2004
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote benpeskoe Quote  Post ReplyReply Direct Link To This Post Topic: Running Multiple Instances on SQL Server
    Posted: 21 April 2004 at 2:03pm

Hi,

I have succesfully installed a second instance of WebWizForum 7.7 on our server. It is running fine and all functionality seems to be working.

However, I am having one problem: the Active Users list and the Header Image on the second forum instance are somehow being pulled from the first forum instance.

I have modified the SQL_server_connection.asp file and it is definitely working properly -- I don't get any of the topics, users, etc. from the First Forum in the second one. I have also modified the strCookieName constant to a new value for the second instance.

The fact that topics, etc. are working made me think it might have been a cookie or session problem, but I deleted all files from my computer and the problem still exists.

The weird thing is, when I run the two forums locally on my developer machine, using exactly the same files, and accessing the same SQL Server DB online, it works fine and I don't have the problem.

To see the problem live, go to:
http://www.lebowskifest.com/why/forum/

The header image and active user lists there are actually from:
http://www.lebowskifest.com/forum/

Thanks for any help anyone can give -- great product!

Ben Peskoe

Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 21 April 2004 at 2:33pm

im not 100% sure but the values you are stating are used with application values.. run on the hosts server... so the sites poling are done on the same server...

 

 

Back to Top
MadDog View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 01 January 2002
Status: Offline
Points: 3008
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post Posted: 21 April 2004 at 2:41pm

You need to turn off Application variables (i believe the setting is in common.asp).

This has been talked about before and posted many times. Doing a search would bring up those threads.

Back to Top
benpeskoe View Drop Down
Newbie
Newbie


Joined: 21 April 2004
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote benpeskoe Quote  Post ReplyReply Direct Link To This Post Posted: 21 April 2004 at 2:58pm

So it would be like something defined in the global.asa, or ...???

The thing that has me pulling my hair out is that it works fine on my local machine, using same web files, and even the same db (I'm pulling from the live db onto my local machine).

So, I can see what you're saying, it must be something like that, I just don't know where to look.

thx,

BP

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: 21 April 2004 at 3:16pm
The active users list will not run with forums installed on the same application pool.

The only solution would be to place oen in it's own web eg. a sub forum inorder for active users to work correctly.
Back to Top
MadDog View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 01 January 2002
Status: Offline
Points: 3008
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post Posted: 21 April 2004 at 3:20pm

-borg-,

why not do something like this with the app vars?

'App var name
strAppName = "WWF"

'Set the app var
Application(strAppName & "strForumName") = "My Forum"

'Read the app var
strForumName = Application(strAppName & "strForumName")

That would solve the problem.

Back to Top
benpeskoe View Drop Down
Newbie
Newbie


Joined: 21 April 2004
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote benpeskoe Quote  Post ReplyReply Direct Link To This Post Posted: 21 April 2004 at 3:35pm

Thanks for the replies....I really appreciate the help.

I did search before posting -- on "multiple instances", "multiple installations", etc., but did not find the information you posted.

BP

Back to Top
benpeskoe View Drop Down
Newbie
Newbie


Joined: 21 April 2004
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote benpeskoe Quote  Post ReplyReply Direct Link To This Post Posted: 21 April 2004 at 4:15pm

thanks, great suggestion. Fixed my problem.

BP

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.