Asp.net Global looping method
<p>I have a database table that holds data related to my image gallery, and I want to store this information on my server.</p>

<p>Basically, each time a user goes into my gallery I want to read from my server instead of querying the database each time.</p>

<p>I found ApplicaionState that is ideal for my use, but I want to do is create a Global method that every 2 hours re-gets the data from the database so I can be sure I have the latest version.</p>

<p>How can I do this?</p>

<p>Thanks</p>
