Author: anzer | Posted on: 8/6/2009 11:43:21 PM | Views : 347

I am showing Most popular articles from DB in different part of my sites.. So I made it as a user control and added OutputCache to make it efficient...
Now the problem is the hyper links in the user control is some times behaving wrongly and starting from the current page...
For example.. The links in the user control is as follows
<a href='/articles/category1/page.aspx?id=1'>Article 1</a>
<a href='/articles/category1/page.aspx?id=2'>Article 2</a>
<a href='/articles/category1/page.aspx?id=3'>Article 3</a>
Its behaving properly in most of the place but some times its taking the url from current page..
So if am in a page http://localhost/users/details.aspx .. the user controls links are pointing to 
http://localhost/users/articles/category1/page.aspx?id=1 instead of
http://localhost/articles/category1/page.aspx?id=1
Its happening only when I enable cachi ...

Go to the complete details ...