title: SQL query in Global.asa file
body: <p>So the previous developer added some application variables in Global.asa file but he hard coded those and we found a bug which need to be dynamic. Now is it possible(or correct way) to add a SQl query to fetch the data and setting the application variable in Global.asa file.</p>
  
  <p>We have this in global.asa</p>
  
  <pre><code>Application("Email_Sales") = "SomeEmail_1@comcast.net"
  </code></pre>
  
  <p>Now we have new sales person and we give her admin rights in our portal and her email is 
  SomeEmail_2@comcast.net. Now i dont want to change the global.asa file every time a sales person change.and thats why i want to write a query in global.asa. For some process this sales person gets email and now its going to old email. Now i can write a query and fetch the new email where the email are going but that will be on so many places.</p>
  
  <p>let me know if its good or not good to write a SQL query in global.asa file.</p>
  
  <p>Thanks.</p>