Location.href and urlrewriting
<p>Hi I have urlrewriting in my application. so it would look like this;</p>

<blockquote>
  <p>www.mydomain.com/pmillio</p>
</blockquote>

<p>I am using location.href to get the url in one of my functions,</p>

<p>location.href gives me www.mydomain.com/pmillio</p>

<p>However i need to change the url so it looks like this instead;</p>

<blockquote>
  <p>www.mydomain.com/user-profile.aspx?username=pmillio</p>
</blockquote>

<p>How do i go about doing this?</p>
