Classic asp using web.config file

Can a classic asp application use a web.config file for connection string purposes? Instead of updating each file that has the connection string i just wat to update the web.config file or just one file.
abussieAsked:
Who is Participating?
 
raterusCommented:
I think you both are missing the point of the question.  abussie just wants to store the connection string in ONE place, and he'd like to do it in web.config of an asp.net application.   He wants ASP to read these values.
0
 
raterusCommented:
Don't think so since they are two completely different technologies.  

What you can do is just parse the web.config file using an XML parsing routine to get the values you want out of it.  Or when the asp.net application starts, you can write out a simple text file with the connection strings to a file that's easier for you to read in ASP.
0
 
dosthCommented:
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
prairiedogCommented:
Never seen examples of using global.asa to store connection strings. Maybe I should do some search.
0
 
abussieAuthor Commented:
asp doesn't read config files i just stored the connection strings on a file in the virtual directory and used an include statement to add the file to the code.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.