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 MOD-Group
 MOD Add-On Forum (W/O Code)
 Conditional Link
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

jfitz
Junior Member

USA
345 Posts

Posted - 08 January 2003 :  13:35:33  Show Profile
I want to put a link on default.asp that is only active when I command it to be. This link will be to a moderated chat room that is only open at certain times, and I want the link to show only when the room is open.

I don't want to keep modifying and uploading default.asp to turn the link on and off, so I need to use some type of external control, such as a data base field, global variable, or something similar, that I can access and set without actually updating code every time I want to change it.

A new administrator page to control the setting would seem to be the most appropriate. In the spirit of Snitz code, what do you suggest as an appropriate solution?

--Jördan
It's a wasted day if you don't spend at least part of it flying upside down.

jfitz
Junior Member

USA
345 Posts

Posted - 08 January 2003 :  15:04:42  Show Profile
I'm thinking something like
if Application("LiveChatOpen")="yes" then
  Response.Write .....
end if

and a couple of lines of admin-accessible code to set and clear the application variable would work.

Comments?

--Jördan
It's a wasted day if you don't spend at least part of it flying upside down.
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.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07