Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 How to reset the application variables?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 01 December 2002 :  14:41:07  Show Profile  Visit D3mon's Homepage
When poeple install my Site Integration MOD for the first time they seem to have a problem whereby the new Application variables added in config.asp don't get assigned the appropriate values from the databse straight away. How do I go about forcing the forums to go back and repopulate the application varibles?
Closing and restarting the browser doesn't seem to help and neither does rebooting the local system. Does it have something to do with being logged in (cookies)?


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 01 December 2002 :  14:45:31  Show Profile
How about running setup?

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 01 December 2002 :  14:46:47  Show Profile
I have a similar problem when I, for example turn on the Bad Word Filter in the hidden administration section on Rakkoon.com. The words aren't filtered in comments made through the site. To get that working I use a seperate ASP file with only this in it:

<% 
Application.Contents.RemoveAll

Response.Write	"<p align=""center""><h2>Application Contents Removed</h2><br>" & vbNewline & _
				"Please wait...</p>" & vbNewline & _
				"<meta http-equiv=""Refresh"" content=""5; URL=default.asp"">" & vbNewline
%>


Of course you don't need the message nor the redirect, but I added it so I don't have to click the "back" button to return to the homepage
Maybe this helps you too?
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 01 December 2002 :  15:18:50  Show Profile  Visit D3mon's Homepage
quote:
Originally posted by Nikkol

How about running setup?



I guess that might work, but it seems a little excessive just to reset the application.


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 01 December 2002 :  15:21:12  Show Profile  Visit D3mon's Homepage
quote:

Application.Contents.RemoveAll


Sound like it could be the answer. Presumably the next time a forum page loads, config.asp is run and the application variable are reloaded then. Does this appear anyhwere in the original Snitz code?


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 01 December 2002 :  16:03:21  Show Profile
If you use removeall, make sure there are not other parts of your web application that use app variables. I know I wouldn't like this run on my website.

======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 01 December 2002 :  16:35:59  Show Profile  Visit D3mon's Homepage
I tend to avoid application and session variables like the plague so I guess it will be ok for me, but maybe not for the other users of my mod.


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"

Edited by - D3mon on 01 December 2002 16:36:52
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 01 December 2002 :  18:18:14  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
I use admin_run_config.asp which was not included in the 3.4 download for some reason.

@tomic

SportsBettingAcumen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07