In the web config configuration section, you can add app settings
<appSettings>
<add key="MyVariable" value="MyValue" />
</appSettings>
You can access these variables using this code:
string MyVariable= ConfigurationManager.AppSettings["MyVariable"];