Can if statements be used in global.asa?
From: Lord Merlin (SPAM_LordMerlin_at_Bonzai.org.za_SPAM)
Date: 06/20/04
- Next message: Bob Barrows [MVP]: "Re: Can if statements be used in global.asa?"
- Previous message: Jeff Cochran: "Re: ASP Calendars & IIS"
- Next in thread: Bob Barrows [MVP]: "Re: Can if statements be used in global.asa?"
- Reply: Bob Barrows [MVP]: "Re: Can if statements be used in global.asa?"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 20 Jun 2004 20:59:09 +0200
When using "if then" statements in global, I get the following error:
a.. Error Type:
(0x8002802B)
Element not found.
//global.asa, line 12
Can I use if then statements in global?
Here is the statement:
if request.ServerVariables("HTTP_HOST") = "localhost" then
Application("question") = "Provider=SQLOLEDB.1;Persist Security
Info=False;User ID='********';'Password='***********';Initial
Catalog='******';Data Source=localhost"
else
Application("question") = "Provider=SQLOLEDB.1;Persist Security
Info=False;User ID='**********';Password='**********';Initial
Catalog='*****';Data Source=<remote-host>"
end if
-- Kind Regards Rudi Ahlers +27 (82) 926 1689 Greater love has no one than this, that he lay down his life for his friends (John 15:13).
- Next message: Bob Barrows [MVP]: "Re: Can if statements be used in global.asa?"
- Previous message: Jeff Cochran: "Re: ASP Calendars & IIS"
- Next in thread: Bob Barrows [MVP]: "Re: Can if statements be used in global.asa?"
- Reply: Bob Barrows [MVP]: "Re: Can if statements be used in global.asa?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|