Clearing UrlData
<p>In a partial asp.net page I have a menu that create links with a foreach statement, which sends the user to another page like this:</p>

<pre><code>&lt;a href="Products/@category.CategoryName"&gt;@category.CategoryName&lt;/a&gt;
</code></pre>

<p>In the Products page I pick up the category chosen by the user in the variable UrlData[0].</p>

<p>It works exactly like I want it to, but only the first time a link is clicked. The rest of the time UrlData is just being added to the current url, which mess up the UrlData used for retrieving the right products.</p>

<p>Obviously I need some way of clearing the UrlData for this code to work properly.</p>

<p>Any help is appreciated.</p>
