title: How can I have the title of a webpage change when it is refreshed?
body: <p>I was wondering if there is a simple way of having the title of a webpage change between some chosen presets stored as a list somewhere each time the page is loaded/refreshed?</p>
  
  <p>For example <a href="http://www.wowhead.com/" rel="nofollow">Wowhead</a> where the title changes each time the page is loaded.</p>
  
  <p>I've been looking for a while but can't find any tutorials or anything about it. Any help at all would be helpful.</p>
  
  <p>EDIT: Thanks for your help you guys. I'm not very good at this kind of stuff but I eventually managed to get it to work after using some of your advice to keep searching.</p>
  
  <p>I eventually got it going with:</p>
  
  <pre><code>public string randomTitle()
  {
      Random random = new Random();
      var page = (Page)HttpContext.Current.Handler;
      int randomNumber = random.Next(0, 10);
      string response;
      switch (randomNumber)
      {
          case 0:
              response = "someTitle0";
              break;
          case 1:
              response = "someTitle1";
              break;
          case 2:
              response = "someTitle2";
              break;
          //I had more in here but you get the picture
      }
      return response;
  }
  </code></pre>
  
  <p>and on the page I called it with:</p>
  
  <pre><code>  &lt;title&gt;&lt;%=randomTitle()%&gt;&lt;/title&gt;
  </code></pre>
  
  <p>Thanks for all of your help everyone who responded. I probably wouldn't have been able to do it if you hadn't (I did spend a good while searching before asking, I just didn't know what to search.)</p>