Getting the environment details in ASP application.
I am having in my machine already implemeted ASP application. In that i want to change the database details in global.asa file.
In that for getting database instances the below code used.
'Get the Oracle DB Instances
Set Shell = Server.CreateObject("Wscript.Shell")
Set SysEnv = Shell.Environment("SYSTEM")
QMDB = SysEnv("QMDB")
OADB = SysEnv("OADB")
OSDB = SysEnv("OSDB")
QSDB = SysEnv("QSDB")
WBDB = SysEnv("WBDB")
In the above code there are getting database detais from which place i am not able to understand can you please help me any one on this.
Those have anything to do with Global.ASA.
Here's what Global.ASA is used for:
Environment variables are typically set from the Control Panel, starting with the "System" icon. They are the basic settings that control where things are found on your computer, etc. Use "HELP" on your machine and search for "Environment Variables" and you can find all of them.
Yes i got it.
It's in my computer properties -> under advanced Tab->Environment vaiables.
Under that i changed it's working fine.
Thank You very much for providing the solution to me.
|All times are GMT +1. The time now is 01:19 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.