I am using intelligencia URL rewriter. Below is my page load function...on debugging it, i came to know that as the page is loaded with a URL, it works fine..i.e. correct values are loaded via query strings..but after traversing the master page..it again
traverses the page_load function..and this time it catches the first link on page & rewrites it according to its rule.
<rewrite url="~/articles/(.+)/(.+)/(.+)/(.+)" to="~/articles.aspx?mainCat=$1&cat=$2&page=$3&aid=$4"/>
<rewrite url="~/articles/(.+)/(.+)" to="~/articles.aspx?mainCat=$1&cat=$2"/>
protected void Page_Load(object sender, EventArgs e)
{
String mainCat = String.Empty;
String cat = String.Empty;
String aid = String.Empty;
if (!IsPostBack)
{
cat = Request.QueryS ...
Go to the complete details ...