How to validate incoming Urls?
<p>I need to validate incoming urls from my application following is the scenario</p>

<p>on url <a href="http://abc.com/login.aspx" rel="nofollow">http://abc.com/login.aspx</a> - need to validate incoming urls from anyone of following</p>

<p><a href="http://xyz.com/start.aspx" rel="nofollow">http://xyz.com/start.aspx</a><br>
<a href="http://xyz.net/start.aspx" rel="nofollow">http://xyz.net/start.aspx</a><br>
http:/yyy.com<br>
<a href="http://mydomain.com/gotologin.aspx" rel="nofollow">http://mydomain.com/gotologin.aspx</a>  </p>

<p>Now from <a href="http://abc.com/login.aspx" rel="nofollow">http://abc.com/login.aspx</a> - I have to check whether the user came from above any three link or not?</p>

<p>If use came from any of these link display the a custom message with the url.</p>

<p>Any help on this will be most appreciated.</p>

<p>I finished it with config file like<br>
     
Here is a need of assign a particular value to a user came from specific url so, I took the key of url. All is working fine on local system. But when I published the sites on production it is not working. The code and rest logics are fine.</p>
