hi teo,
you should read this section of the docs on web configuration, it will tell
you everything you need to know about reading values from web.config:
http://msdn2.microsoft.com/en-us/lib...onmanager.aspx
for your nested web.config scenario, have a read of the OpenWebConfiguration
method of the WebConfigurationManager class, it allows you to open a
specific configuration section based on the virtual path of the application.
good luck
tim
"teo" <te*@inwind.itwrote in message
news:r2********************************@4ax.com...
>I put some variables in a web.config file
I have a global.asax file that needs to use
one of those variables
How can global.asax read that value?
If I have more than one web.config file,
how can the global.asax detect the right web.config file ?