Author |
Topic  |
|
wildfiction
Junior Member
 
167 Posts |
Posted - 10 March 2005 : 01:55:14
|
This behavior may be due to the way my host is implementing my sub-webs but it may also be a bug so I'm reporting it here:
I have 2 forums set-up in the following locations: http://www.headvert.com/sample/ http://www.headvert.com/daytradingsecrets/
They work fine if you access them using those URLs. Each directory has a complete copy of the asp code and is self contained so that each can have seperate MODs or changes made to it without affecting the other. (Yes I know this is a duplicity of code but it's easier that way.)
I also have 2 sub-webs that map to those 2 directories: http://sample.headvert.com/ http://day-trading-secrets.headvert.com/
When using the sub-webs and switching between the 2 they start to get confused and looking at the Forum Variables Information I see that under the Application variables section it appears that both of the forum's variables have been saved in the sub-webs which is what I think is casing the confusion.
This doesn't happen when the forums are accessed using the directories.
I know that this isn't a support forum but if you have any suggestions they'd be much appreciated. |
|
HuwR
Forum Admin
    
United Kingdom
20593 Posts |
Posted - 10 March 2005 : 03:13:05
|
quote: This behavior may be due to the way my host is implementing my sub-webs
yes it is, your two subwebs if under a diversion are in fact the same domain hence the confusion with app variables.
You could try changing the strUniqueID prefix for one of the forums that may help, but it may not, it is after all a domain/IIS problem not a Snitz problem.
Also check the cookie mode set for the forum, try changing it from forum to website (don't forget to clear your cookies, you could also execute some ASP to empty your app variables and then reload them for each forum. |
 |
|
wildfiction
Junior Member
 
167 Posts |
Posted - 10 March 2005 : 03:45:24
|
quote: Originally posted by HuwR
quote: This behavior may be due to the way my host is implementing my sub-webs
yes it is, your two subwebs if under a diversion are in fact the same domain hence the confusion with app variables.
Sounds logical.
quote: Also check the cookie mode set for the forum, try changing it from forum to website (don't forget to clear your cookies,
Do you mean to non-cookie mode? WARNING: all your admin functions will be visible to all users if this function is "ON". I assume that this warning is telling me that any registered user can then see the location of the database and anything that can be accessed from the admin menu right?
quote: you could also execute some ASP to empty your app variables and then reload them for each forum.
Now that sounds like a good plan. I assume that I would do that when default.asp was loaded for the first time for that sub-web. Although I'm not sure how I would check that... |
 |
|
Shaggy
Support Moderator
    
Ireland
6780 Posts |
Posted - 10 March 2005 : 06:05:45
|
quote: Originally posted by wildfiction Do you mean to non-cookie mode?
No, under feature configuration, there is an option to set cookies to forum or website. You need to set it to forum on both boards.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
 |
|
wildfiction
Junior Member
 
167 Posts |
Posted - 13 March 2005 : 10:43:37
|
quote: Originally posted by Shaggy
quote: Originally posted by wildfiction Do you mean to non-cookie mode?
No, under feature configuration, there is an option to set cookies to forum or website. You need to set it to forum on both boards.
I can't find that option under Feature Configuration. Here are screen snap shots of the options available to me. Which one is it?


|
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
wildfiction
Junior Member
 
167 Posts |
Posted - 14 March 2005 : 05:38:17
|
quote: Originally posted by ruirib
It's in the Main Configuration options.
That didn't work but thanks for the idea. |
 |
|
qmediagroup
Starting Member
USA
7 Posts |
Posted - 15 April 2005 : 16:25:05
|
This is exactly the same problem I'm having with 1and1.com hosting where I've set up two subwebs, each with a different form config.asp and separate databases. There just doesn't seem to be a way to keep the application variables from being shared although the two forums are completely indpendent from each other.
Any hints, tips, or suggestions other then the above would certainly be appreciated. |
Terry Pochert info@qmediagroup.com |
 |
|
wildfiction
Junior Member
 
167 Posts |
Posted - 19 April 2005 : 12:54:26
|
quote: Originally posted by qmediagroup
This is exactly the same problem I'm having with 1and1.com hosting where I've set up two subwebs, each with a different form config.asp and separate databases. There just doesn't seem to be a way to keep the application variables from being shared although the two forums are completely indpendent from each other.
Any hints, tips, or suggestions other then the above would certainly be appreciated.
I still haven't found a solution with sub-webs so I'm using sub-directories instead.
I'm also using 1and1.com
|
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
qmediagroup
Starting Member
USA
7 Posts |
Posted - 21 April 2005 : 22:57:55
|
Yes, sure did... and still no luck putting two forums within the same domain or even as subwebs.
When in the administration panel, the variables will show up for the other forum or whatever forum was last updated in the administration panel.
I've had two other folks check my config.asp files for the distinct "strUniqueID" that we've set for each domain. I'll keep tinkering to see if I can figure this out. |
Terry Pochert info@qmediagroup.com |
 |
|
|
Topic  |
|